Fix locks.c properly this time
PATCH 1/1 Fix locks.c properly this time
When I moved the exports into arch/ppc/lib/locks.c, I forgot to include module.h, so it doesn't compile (with CONFIG_SMP + CONFIG_SPINLOCK_DEBUG). This patch fixes it.
Signed-off-by Paul Mackerras <[email protected]>
arch/ppc/lib/locks.c +1 -0
@@ -7,6 +7,7 @@#include <linux/config.h> #include <linux/sched.h> #include <linux/spinlock.h> +#include <linux/module.h> #include <asm/ppc_asm.h> #include <asm/smp.h>