瀏覽代碼

kprobes: include <asm/sections.h> instead of <asm-generic/sections.h>

asm-generic headers are generic implementations for architecture specific
code and should not be included by common code.  Thus use the asm/ version
of sections.h to get at the linker sections.

Link: http://lkml.kernel.org/r/1473602302-6208-1-git-send-email-hch@lst.de
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Christoph Hellwig 8 年之前
父節點
當前提交
bfd45be0b8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      kernel/kprobes.c

+ 1 - 1
kernel/kprobes.c

@@ -49,7 +49,7 @@
 #include <linux/cpu.h>
 #include <linux/cpu.h>
 #include <linux/jump_label.h>
 #include <linux/jump_label.h>
 
 
-#include <asm-generic/sections.h>
+#include <asm/sections.h>
 #include <asm/cacheflush.h>
 #include <asm/cacheflush.h>
 #include <asm/errno.h>
 #include <asm/errno.h>
 #include <asm/uaccess.h>
 #include <asm/uaccess.h>