kprobes: include <asm/sections.h> instead of <asm-generic/sections.h>
authorChristoph Hellwig <[email protected]>
Tue, 11 Oct 2016 20:52:22 +0000 (13:52 -0700)
committerLinus Torvalds <[email protected]>
Tue, 11 Oct 2016 22:06:31 +0000 (15:06 -0700)
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/[email protected]
Signed-off-by: Christoph Hellwig <[email protected]>
Acked-by: Masami Hiramatsu <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
kernel/kprobes.c

index d10ab6b9b5e082e47570ab76b8e5aefa7e58ec5a..d63095472ea98dfbe9932246032597f630886a0f 100644 (file)
@@ -49,7 +49,7 @@
 #include <linux/cpu.h>
 #include <linux/jump_label.h>
 
-#include <asm-generic/sections.h>
+#include <asm/sections.h>
 #include <asm/cacheflush.h>
 #include <asm/errno.h>
 #include <asm/uaccess.h>