浏览代码

[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>
Christoph Hellwig 17 年之前
父节点
当前提交
885aa35c96
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      arch/powerpc/kernel/stacktrace.c

+ 0 - 1
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.