diff options
author | Christoph Hellwig <hch@lst.de> | 2016-10-11 16:52:22 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-10-11 18:06:31 -0400 |
commit | bfd45be0b83e8f711f3abc892850d6047972d127 (patch) | |
tree | 6aa74e7befa0762bc7e3c634e459e8c1c9d5f8d5 /kernel/kprobes.c | |
parent | 459cf0ae5d6600592a539bc861c84e14ed1a5bcb (diff) |
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>
Diffstat (limited to 'kernel/kprobes.c')
-rw-r--r-- | kernel/kprobes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/kprobes.c b/kernel/kprobes.c index d10ab6b9b5e0..d63095472ea9 100644 --- a/kernel/kprobes.c +++ b/kernel/kprobes.c | |||
@@ -49,7 +49,7 @@ | |||
49 | #include <linux/cpu.h> | 49 | #include <linux/cpu.h> |
50 | #include <linux/jump_label.h> | 50 | #include <linux/jump_label.h> |
51 | 51 | ||
52 | #include <asm-generic/sections.h> | 52 | #include <asm/sections.h> |
53 | #include <asm/cacheflush.h> | 53 | #include <asm/cacheflush.h> |
54 | #include <asm/errno.h> | 54 | #include <asm/errno.h> |
55 | #include <asm/uaccess.h> | 55 | #include <asm/uaccess.h> |