* [PATCH] include <asm/sections.h> instead of <asm-generic/sections.h>
@ 2016-07-12 5:45 mariakatosvich
0 siblings, 0 replies; 2+ messages in thread
From: mariakatosvich @ 2016-07-12 5:45 UTC (permalink / raw)
To: linux-kernel
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.
Signed-off-by: mariakatosvich <hch <at> lst.de>
---
kernel/kprobes.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/kprobes.c b/kernel/kprobes.c
index d10ab6b..d630954 100644
--- a/kernel/kprobes.c
+++ b/kernel/kprobes.c
<at> <at> -49,7 +49,7 <at> <at>
#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>
--
Thanks
mariakatosvich
http://www.fixithere.net/sky-contact-number/
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH] include <asm/sections.h> instead of <asm-generic/sections.h>
@ 2016-05-05 14:42 Christoph Hellwig
0 siblings, 0 replies; 2+ messages in thread
From: Christoph Hellwig @ 2016-05-05 14:42 UTC (permalink / raw)
To: ananth, anil.s.keshavamurthy, davem, mhiramat; +Cc: linux-mm, linux-kernel
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.
Signed-off-by: Christoph Hellwig <hch@lst.de>
---
kernel/kprobes.c | 2 +-
kernel/printk/printk.c | 2 +-
mm/memblock.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/kernel/kprobes.c b/kernel/kprobes.c
index d10ab6b..d630954 100644
--- a/kernel/kprobes.c
+++ b/kernel/kprobes.c
@@ -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>
diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c
index bfbf284..3a7f696 100644
--- a/kernel/printk/printk.c
+++ b/kernel/printk/printk.c
@@ -48,7 +48,7 @@
#include <linux/uio.h>
#include <asm/uaccess.h>
-#include <asm-generic/sections.h>
+#include <asm/sections.h>
#define CREATE_TRACE_POINTS
#include <trace/events/printk.h>
diff --git a/mm/memblock.c b/mm/memblock.c
index b570ddd..7ed1ea1a 100644
--- a/mm/memblock.c
+++ b/mm/memblock.c
@@ -20,7 +20,7 @@
#include <linux/seq_file.h>
#include <linux/memblock.h>
-#include <asm-generic/sections.h>
+#include <asm/sections.h>
#include <linux/io.h>
#include "internal.h"
--
2.1.4
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-07-12 5:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-12 5:45 [PATCH] include <asm/sections.h> instead of <asm-generic/sections.h> mariakatosvich
-- strict thread matches above, loose matches on Subject: below --
2016-05-05 14:42 Christoph Hellwig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome