All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Gortmaker <paul.gortmaker@windriver.com>
To: <linux-kernel@vger.kernel.org>
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>,
	Russell King <linux@arm.linux.org.uk>,
	<linux-arm-kernel@lists.infradead.org>
Subject: [PATCH 2/4] arm: fix implicit #include <linux/init.h> in entry asm.
Date: Tue, 2 Jun 2015 16:16:06 -0400	[thread overview]
Message-ID: <1433276168-21550-3-git-send-email-paul.gortmaker@windriver.com> (raw)
In-Reply-To: <1433276168-21550-1-git-send-email-paul.gortmaker@windriver.com>

They use the "_INIT" macro and friends, and hence need to
source this header file, vs. relying on getting it implicitly.

Cc: Russell King <linux@arm.linux.org.uk>
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
---
 arch/arm/kernel/entry-armv.S | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/kernel/entry-armv.S b/arch/arm/kernel/entry-armv.S
index 570306c49406..4942fab6ae28 100644
--- a/arch/arm/kernel/entry-armv.S
+++ b/arch/arm/kernel/entry-armv.S
@@ -15,6 +15,8 @@
  *  that causes it to save wrong values...  Be aware!
  */
 
+#include <linux/init.h>
+
 #include <asm/assembler.h>
 #include <asm/memory.h>
 #include <asm/glue-df.h>
-- 
2.2.1


WARNING: multiple messages have this Message-ID (diff)
From: paul.gortmaker@windriver.com (Paul Gortmaker)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/4] arm: fix implicit #include <linux/init.h> in entry asm.
Date: Tue, 2 Jun 2015 16:16:06 -0400	[thread overview]
Message-ID: <1433276168-21550-3-git-send-email-paul.gortmaker@windriver.com> (raw)
In-Reply-To: <1433276168-21550-1-git-send-email-paul.gortmaker@windriver.com>

They use the "_INIT" macro and friends, and hence need to
source this header file, vs. relying on getting it implicitly.

Cc: Russell King <linux@arm.linux.org.uk>
Cc: linux-arm-kernel at lists.infradead.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
---
 arch/arm/kernel/entry-armv.S | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/kernel/entry-armv.S b/arch/arm/kernel/entry-armv.S
index 570306c49406..4942fab6ae28 100644
--- a/arch/arm/kernel/entry-armv.S
+++ b/arch/arm/kernel/entry-armv.S
@@ -15,6 +15,8 @@
  *  that causes it to save wrong values...  Be aware!
  */
 
+#include <linux/init.h>
+
 #include <asm/assembler.h>
 #include <asm/memory.h>
 #include <asm/glue-df.h>
-- 
2.2.1

  parent reply	other threads:[~2015-06-02 20:19 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-02 20:16 [PATCH 0/4] Relocate module code from init.h to module.h Paul Gortmaker
2015-06-02 20:16 ` Paul Gortmaker
2015-06-02 20:16 ` Paul Gortmaker
2015-06-02 20:16 ` [PATCH 1/4] x86: replace __init_or_module with __init in non-modular vsmp_64.c Paul Gortmaker
2015-06-02 20:16 ` Paul Gortmaker [this message]
2015-06-02 20:16   ` [PATCH 2/4] arm: fix implicit #include <linux/init.h> in entry asm Paul Gortmaker
2015-06-02 20:16 ` [PATCH 3/4] mips: make loongsoon serial driver explicitly modular Paul Gortmaker
2015-06-02 20:16   ` Paul Gortmaker
2015-06-02 21:47   ` Paul Bolle
2015-06-02 22:43     ` Paul Gortmaker
2015-06-02 22:43       ` Paul Gortmaker
2015-06-03  7:55   ` Ralf Baechle
2015-06-09  7:35   ` Ralf Baechle
2015-06-09 23:15     ` Paul Gortmaker
2015-06-09 23:15       ` Paul Gortmaker
2015-06-10  8:47       ` Ralf Baechle
2015-06-02 20:16 ` [PATCH 4/4] module: relocate module_init from init.h to module.h Paul Gortmaker

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=1433276168-21550-3-git-send-email-paul.gortmaker@windriver.com \
    --to=paul.gortmaker@windriver.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.