]> err.no Git - linux-2.6/commitdiff
[POWERPC] Fix new warnings arising from stacktrace patch
authorChristoph Hellwig <hch@lst.de>
Wed, 23 Apr 2008 14:32:29 +0000 (00:32 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 24 Apr 2008 10:58:02 +0000 (20:58 +1000)
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>
arch/powerpc/kernel/stacktrace.c

index e3638eeaaae7e9e1a1d8ad1b41a201ff0e3dcba1..962944038430f69861181623763abb5f16f98049 100644 (file)
@@ -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.