Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1554702 > unrolled thread

[PATCH 03/10] m32r: migrate exception table users off module.h and onto extable.h

Started byPaul Gortmaker <paul.gortmaker@windriver.com>
First post2017-01-09 21:50 +0100
Last post2017-01-11 00:00 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 03/10] m32r: migrate exception table users off module.h and onto extable.h Paul Gortmaker <paul.gortmaker@windriver.com> - 2017-01-09 21:50 +0100
    Re: [PATCH 03/10] m32r: migrate exception table users off module.h  and onto extable.h Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2017-01-11 00:00 +0100

#1554702 — [PATCH 03/10] m32r: migrate exception table users off module.h and onto extable.h

FromPaul Gortmaker <paul.gortmaker@windriver.com>
Date2017-01-09 21:50 +0100
Subject[PATCH 03/10] m32r: migrate exception table users off module.h and onto extable.h
Message-ID<sXP3b-qJ-21@gated-at.bofh.it>
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: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
---
 arch/m32r/mm/extable.c | 2 +-
 arch/m32r/mm/fault.c   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/m32r/mm/extable.c b/arch/m32r/mm/extable.c
index 40ccf80d29cf..8ac8ba6ef60c 100644
--- a/arch/m32r/mm/extable.c
+++ b/arch/m32r/mm/extable.c
@@ -2,7 +2,7 @@
  * linux/arch/m32r/mm/extable.c
  */
 
-#include <linux/module.h>
+#include <linux/extable.h>
 #include <linux/uaccess.h>
 
 int fixup_exception(struct pt_regs *regs)
diff --git a/arch/m32r/mm/fault.c b/arch/m32r/mm/fault.c
index a3785d3644c2..a05dc3184594 100644
--- a/arch/m32r/mm/fault.c
+++ b/arch/m32r/mm/fault.c
@@ -23,7 +23,7 @@
 #include <linux/tty.h>
 #include <linux/vt_kern.h>		/* For unblank_screen() */
 #include <linux/highmem.h>
-#include <linux/module.h>
+#include <linux/extable.h>
 #include <linux/uaccess.h>
 
 #include <asm/m32r.h>
-- 
2.11.0

[toc] | [next] | [standalone]


#1555983 — Re: [PATCH 03/10] m32r: migrate exception table users off module.h and onto extable.h

FromSudip Mukherjee <sudipm.mukherjee@gmail.com>
Date2017-01-11 00:00 +0100
SubjectRe: [PATCH 03/10] m32r: migrate exception table users off module.h and onto extable.h
Message-ID<sYdyy-7hm-9@gated-at.bofh.it>
In reply to#1554702
On Monday 09 January 2017 08:40 PM, Paul Gortmaker wrote:
> 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: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
> ---

Acked-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>


regards
sudip

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web