summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2008-07-08 22:15:40 +1000
committerIngo Molnar <mingo@elte.hu>2008-07-08 14:24:58 +0200
commita05fe0389b72f43b9e29d6fbfc5885084be2f96f (patch)
treece484cc116d820cb88e2543a5863d5250691c408 /arch
parent7b4c9505f2fd82b117dd015b561f723b9a5dab79 (diff)
downloadlinux-stable-a05fe0389b72f43b9e29d6fbfc5885084be2f96f.tar.gz
linux-stable-a05fe0389b72f43b9e29d6fbfc5885084be2f96f.tar.bz2
linux-stable-a05fe0389b72f43b9e29d6fbfc5885084be2f96f.zip
stacktrace: fix build failure on sparc64
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/sparc64/kernel/stacktrace.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc64/kernel/stacktrace.c b/arch/sparc64/kernel/stacktrace.c
index 49656ed6ab18..b3e3737750d8 100644
--- a/arch/sparc64/kernel/stacktrace.c
+++ b/arch/sparc64/kernel/stacktrace.c
@@ -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>