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>,
Benjamin Herrenschmidt <benh@kernel.crashing.org>,
Paul Mackerras <paulus@samba.org>,
Michael Ellerman <mpe@ellerman.id.au>,
linuxppc-dev@lists.ozlabs.org
Subject: [PATCH 07/14] powerpc: migrate exception table users off module.h and onto extable.h
Date: Sun, 24 Jul 2016 23:42:40 -0400 [thread overview]
Message-ID: <20160725034247.109173-8-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: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: linuxppc-dev@lists.ozlabs.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
---
arch/powerpc/kernel/kprobes.c | 2 +-
arch/powerpc/mm/fault.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/powerpc/kernel/kprobes.c b/arch/powerpc/kernel/kprobes.c
index 3ed8ec09b5c9..e785cc9e1ecd 100644
--- a/arch/powerpc/kernel/kprobes.c
+++ b/arch/powerpc/kernel/kprobes.c
@@ -29,7 +29,7 @@
#include <linux/kprobes.h>
#include <linux/ptrace.h>
#include <linux/preempt.h>
-#include <linux/module.h>
+#include <linux/extable.h>
#include <linux/kdebug.h>
#include <linux/slab.h>
#include <asm/code-patching.h>
diff --git a/arch/powerpc/mm/fault.c b/arch/powerpc/mm/fault.c
index a4db22f65021..bb1ffc559f38 100644
--- a/arch/powerpc/mm/fault.c
+++ b/arch/powerpc/mm/fault.c
@@ -26,7 +26,7 @@
#include <linux/mm.h>
#include <linux/interrupt.h>
#include <linux/highmem.h>
-#include <linux/module.h>
+#include <linux/extable.h>
#include <linux/kprobes.h>
#include <linux/kdebug.h>
#include <linux/perf_event.h>
--
2.8.4
next prev parent reply other threads:[~2016-07-25 3:44 UTC|newest]
Thread overview: 30+ 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 ` [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-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 ` [PATCH 04/14] arm64: " Paul Gortmaker
2016-07-25 16:03 ` Catalin Marinas
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 3:42 ` [PATCH 06/14] sparc: " Paul Gortmaker
2016-07-25 3:42 ` Paul Gortmaker
2016-07-25 3:42 ` Paul Gortmaker [this message]
2016-07-25 3:42 ` [PATCH 08/14] m68k: " Paul Gortmaker
2016-07-25 3:42 ` [PATCH 09/14] s390: " Paul Gortmaker
2016-07-25 3:42 ` [PATCH 10/14] tile: " 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 ` [PATCH 14/14] module.h: remove extable.h include now users have migrated 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
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-8-paul.gortmaker@windriver.com \
--to=paul.gortmaker@windriver.com \
--cc=benh@kernel.crashing.org \
--cc=linux-arch@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mpe@ellerman.id.au \
--cc=paulus@samba.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;
as well as URLs for NNTP newsgroup(s).