mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: mariakatosvich <editor.buzzfeed@yahoo.com>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] include <asm/sections.h> instead of <asm-generic/sections.h>
Date: Tue, 12 Jul 2016 05:45:37 +0000 (UTC)	[thread overview]
Message-ID: <loom.20160712T074445-216@post.gmane.org> (raw)


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/

             reply	other threads:[~2016-07-12  5:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-12  5:45 mariakatosvich [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-05-05 14:42 Christoph Hellwig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20160712T074445-216@post.gmane.org \
    --to=editor.buzzfeed@yahoo.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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