summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel
diff options
context:
space:
mode:
authorChristoph Hellwig2008-04-23 16:32:29 +0200
committerPaul Mackerras2008-04-24 12:58:02 +0200
commit885aa35c9669ce7919d203036a87a7e1a4ebd25f (patch)
tree491a960958582bea758102c94351637051082a04 /arch/powerpc/kernel
parent[POWERPC] Port fixmap from x86 and use for kmap_atomic (diff)
downloadkernel-qcow2-linux-885aa35c9669ce7919d203036a87a7e1a4ebd25f.tar.gz
kernel-qcow2-linux-885aa35c9669ce7919d203036a87a7e1a4ebd25f.tar.xz
kernel-qcow2-linux-885aa35c9669ce7919d203036a87a7e1a4ebd25f.zip
[POWERPC] Fix new warnings arising from stacktrace patch
Remove the inclusion of asm-offsets.h from stacktrace.c. It isn't supposed to be included in C code and it causes problems with multiple definitions of things. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel')
-rw-r--r--arch/powerpc/kernel/stacktrace.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/stacktrace.c b/arch/powerpc/kernel/stacktrace.c
index e3638eeaaae7..962944038430 100644
--- a/arch/powerpc/kernel/stacktrace.c
+++ b/arch/powerpc/kernel/stacktrace.c
@@ -13,7 +13,6 @@
#include <linux/sched.h>
#include <linux/stacktrace.h>
#include <asm/ptrace.h>
-#include <asm/asm-offsets.h>
/*
* Save stack-backtrace addresses into a stack_trace buffer.