Skip to contentSkip to conversation

Fix locks.c properly this time

PATCH New Paul Mackerras 1 participant 1 message Jun 3, 2004

lore
Share & tools
lore
#0 lore raw

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.

arch/ppc/lib/locks.c +1 -0
diff -urN linux-2.5/arch/ppc/lib/locks.c pmac-2.5/arch/ppc/lib/locks.c
@@ -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>