]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
stacktrace: fix build failure on sparc64
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 8 Jul 2008 12:15:40 +0000 (22:15 +1000)
committerIngo Molnar <mingo@elte.hu>
Tue, 8 Jul 2008 12:24:58 +0000 (14:24 +0200)
Today's linux-next build (spac64 allmodconfig) failed like this:

arch/sparc64/kernel/stacktrace.c:50: warning: type defaults to `int' in declaration of `EXPORT_SYMBOL_GPL'
arch/sparc64/kernel/stacktrace.c:50: warning: parameter names (without types) in function declaration
arch/sparc64/kernel/stacktrace.c:50: warning: data definition has no type or storage class

Signed-off-by: Stephen Rothwell <sf@canb.auug.org.au>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/sparc64/kernel/stacktrace.c

index 49656ed6ab18eb39a7f7115d81a9e09bfd3054f1..b3e3737750d8bfb49701a862a6c57a821303fc18 100644 (file)
@@ -1,6 +1,7 @@
 #include <linux/sched.h>
 #include <linux/stacktrace.h>
 #include <linux/thread_info.h>
+#include <linux/module.h>
 #include <asm/ptrace.h>
 #include <asm/stacktrace.h>