All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Gortmaker <paul.gortmaker@windriver.com>
To: <linux-kernel@vger.kernel.org>
Cc: <linux-arch@vger.kernel.org>,
	Paul Gortmaker <paul.gortmaker@windriver.com>,
	Ralf Baechle <ralf@linux-mips.org>, <linux-mips@linux-mips.org>
Subject: [PATCH 05/14] mips: migrate exception table users off module.h and onto extable.h
Date: Sun, 24 Jul 2016 23:42:38 -0400	[thread overview]
Message-ID: <20160725034247.109173-6-paul.gortmaker@windriver.com> (raw)
In-Reply-To: <20160725034247.109173-1-paul.gortmaker@windriver.com>

These files were only including module.h for exception table
related functions.  We've now separated that content out into its
own file "extable.h" so now move over to that and avoid all the
extra header content in module.h that we don't really need to compile
these files.

Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
---
 arch/mips/kernel/module.c | 1 +
 arch/mips/kernel/traps.c  | 2 +-
 arch/mips/mm/extable.c    | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/arch/mips/kernel/module.c b/arch/mips/kernel/module.c
index 79850e376ef6..94627a3a6a0d 100644
--- a/arch/mips/kernel/module.c
+++ b/arch/mips/kernel/module.c
@@ -20,6 +20,7 @@
 
 #undef DEBUG
 
+#include <linux/extable.h>
 #include <linux/moduleloader.h>
 #include <linux/elf.h>
 #include <linux/mm.h>
diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c
index 6fb4704bd156..b4522e3a0562 100644
--- a/arch/mips/kernel/traps.c
+++ b/arch/mips/kernel/traps.c
@@ -20,7 +20,7 @@
 #include <linux/kexec.h>
 #include <linux/init.h>
 #include <linux/kernel.h>
-#include <linux/module.h>
+#include <linux/extable.h>
 #include <linux/mm.h>
 #include <linux/sched.h>
 #include <linux/smp.h>
diff --git a/arch/mips/mm/extable.c b/arch/mips/mm/extable.c
index 9d25d2ba4b9e..e474fa2efed4 100644
--- a/arch/mips/mm/extable.c
+++ b/arch/mips/mm/extable.c
@@ -5,7 +5,7 @@
  *
  * Copyright (C) 1997, 99, 2001 - 2004 Ralf Baechle <ralf@linux-mips.org>
  */
-#include <linux/module.h>
+#include <linux/extable.h>
 #include <linux/spinlock.h>
 #include <asm/branch.h>
 #include <asm/uaccess.h>
-- 
2.8.4

WARNING: multiple messages have this Message-ID (diff)
From: Paul Gortmaker <paul.gortmaker@windriver.com>
To: linux-kernel@vger.kernel.org
Cc: linux-arch@vger.kernel.org,
	Paul Gortmaker <paul.gortmaker@windriver.com>,
	Ralf Baechle <ralf@linux-mips.org>,
	linux-mips@linux-mips.org
Subject: [PATCH 05/14] mips: migrate exception table users off module.h and onto extable.h
Date: Sun, 24 Jul 2016 23:42:38 -0400	[thread overview]
Message-ID: <20160725034247.109173-6-paul.gortmaker@windriver.com> (raw)
In-Reply-To: <20160725034247.109173-1-paul.gortmaker@windriver.com>

These files were only including module.h for exception table
related functions.  We've now separated that content out into its
own file "extable.h" so now move over to that and avoid all the
extra header content in module.h that we don't really need to compile
these files.

Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
---
 arch/mips/kernel/module.c | 1 +
 arch/mips/kernel/traps.c  | 2 +-
 arch/mips/mm/extable.c    | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/arch/mips/kernel/module.c b/arch/mips/kernel/module.c
index 79850e376ef6..94627a3a6a0d 100644
--- a/arch/mips/kernel/module.c
+++ b/arch/mips/kernel/module.c
@@ -20,6 +20,7 @@
 
 #undef DEBUG
 
+#include <linux/extable.h>
 #include <linux/moduleloader.h>
 #include <linux/elf.h>
 #include <linux/mm.h>
diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c
index 6fb4704bd156..b4522e3a0562 100644
--- a/arch/mips/kernel/traps.c
+++ b/arch/mips/kernel/traps.c
@@ -20,7 +20,7 @@
 #include <linux/kexec.h>
 #include <linux/init.h>
 #include <linux/kernel.h>
-#include <linux/module.h>
+#include <linux/extable.h>
 #include <linux/mm.h>
 #include <linux/sched.h>
 #include <linux/smp.h>
diff --git a/arch/mips/mm/extable.c b/arch/mips/mm/extable.c
index 9d25d2ba4b9e..e474fa2efed4 100644
--- a/arch/mips/mm/extable.c
+++ b/arch/mips/mm/extable.c
@@ -5,7 +5,7 @@
  *
  * Copyright (C) 1997, 99, 2001 - 2004 Ralf Baechle <ralf@linux-mips.org>
  */
-#include <linux/module.h>
+#include <linux/extable.h>
 #include <linux/spinlock.h>
 #include <asm/branch.h>
 #include <asm/uaccess.h>
-- 
2.8.4

  parent reply	other threads:[~2016-07-25  3:44 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-25  3:42 [RFC/PATCH 00/14] split exception table content out of module.h into extable.h Paul Gortmaker
2016-07-25  3:42 ` Paul Gortmaker
2016-07-25  3:42 ` Paul Gortmaker
2016-07-25  3:42 ` Paul Gortmaker
2016-07-25  3:42 ` Paul Gortmaker
2016-07-25  3:42 ` Paul Gortmaker
2016-07-25  3:42 ` [PATCH 01/14] exceptions: fork exception table content from " Paul Gortmaker
2016-07-25  3:42   ` Paul Gortmaker
2016-07-27  2:34   ` Rusty Russell
2016-07-27  2:34     ` Rusty Russell
2016-07-27  2:34     ` Rusty Russell
2016-07-25  3:42 ` [PATCH 02/14] x86: migrate exception table users off module.h and onto extable.h Paul Gortmaker
2016-07-25  3:42   ` Paul Gortmaker
2016-07-25  6:35   ` Ingo Molnar
2016-07-25  3:42 ` [PATCH 03/14] arm: " Paul Gortmaker
2016-07-25  3:42   ` Paul Gortmaker
2016-07-25  3:42   ` Paul Gortmaker
2016-07-25  3:42 ` [PATCH 04/14] arm64: " Paul Gortmaker
2016-07-25  3:42   ` Paul Gortmaker
2016-07-25  3:42   ` Paul Gortmaker
2016-07-25 16:03   ` Catalin Marinas
2016-07-25 16:03     ` Catalin Marinas
2016-07-25  3:42 ` Paul Gortmaker [this message]
2016-07-25  3:42   ` [PATCH 05/14] mips: " Paul Gortmaker
2016-07-25  9:08   ` kbuild test robot
2016-07-25  9:08     ` kbuild test robot
2016-07-25  9:08     ` kbuild test robot
2016-07-25  3:42 ` [PATCH 06/14] sparc: " Paul Gortmaker
2016-07-25  3:42   ` Paul Gortmaker
2016-07-25  3:42   ` Paul Gortmaker
2016-07-25  3:42 ` [PATCH 07/14] powerpc: " Paul Gortmaker
2016-07-25  3:42   ` Paul Gortmaker
2016-07-25  3:42 ` [PATCH 08/14] m68k: " Paul Gortmaker
2016-07-25  3:42   ` Paul Gortmaker
2016-07-25  3:42 ` [PATCH 09/14] s390: " Paul Gortmaker
2016-07-25  3:42   ` Paul Gortmaker
2016-07-25  3:42 ` [PATCH 10/14] tile: " Paul Gortmaker
2016-07-25  3:42   ` Paul Gortmaker
2016-07-25  3:42 ` [PATCH 11/14] alpha: " Paul Gortmaker
2016-07-25  3:42   ` Paul Gortmaker
2016-07-25  3:42 ` [PATCH 12/14] parisc: " Paul Gortmaker
2016-07-25  3:42   ` Paul Gortmaker
2016-07-25  3:42 ` [PATCH 13/14] core: " Paul Gortmaker
2016-07-25  3:42   ` Paul Gortmaker
2016-07-25  3:42 ` [PATCH 14/14] module.h: remove extable.h include now users have migrated Paul Gortmaker
2016-07-25  3:42   ` Paul Gortmaker
2016-07-25  4:18 ` [RFC/PATCH 00/14] split exception table content out of module.h into extable.h Linus Torvalds
2016-07-25  4:18   ` Linus Torvalds
2016-07-25  4:18   ` Linus Torvalds
2016-07-25  4:18   ` Linus Torvalds
2016-07-25  4:18   ` Linus Torvalds
2016-07-25  4:18   ` Linus Torvalds

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=20160725034247.109173-6-paul.gortmaker@windriver.com \
    --to=paul.gortmaker@windriver.com \
    --cc=linux-arch@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@linux-mips.org \
    --cc=ralf@linux-mips.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 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.