All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] avr32: migrate exception table users off module.h and onto extable.h
@ 2016-09-19 21:59 Paul Gortmaker
  2016-09-20  7:26 ` Hans-Christian Noren Egtvedt
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Gortmaker @ 2016-09-19 21:59 UTC (permalink / raw)
  To: linux-kernel; +Cc: Paul Gortmaker, Haavard Skinnemoen, Hans-Christian Egtvedt

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.

One uses "print_modules" so that prevents us removing module.h in
that case, however.

Cc: Haavard Skinnemoen <hskinnemoen@gmail.com>
Cc: Hans-Christian Egtvedt <egtvedt@samfundet.no>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
---

[see: https://lkml.org/lkml/2016/7/24/224 for additional context if needed]

 arch/avr32/kernel/traps.c | 3 ++-
 arch/avr32/mm/fault.c     | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/arch/avr32/kernel/traps.c b/arch/avr32/kernel/traps.c
index 682b2478691a..eb4a3fcfbaff 100644
--- a/arch/avr32/kernel/traps.c
+++ b/arch/avr32/kernel/traps.c
@@ -11,7 +11,8 @@
 #include <linux/init.h>
 #include <linux/kallsyms.h>
 #include <linux/kdebug.h>
-#include <linux/module.h>
+#include <linux/extable.h>
+#include <linux/module.h>	/* print_modules */
 #include <linux/notifier.h>
 #include <linux/sched.h>
 #include <linux/uaccess.h>
diff --git a/arch/avr32/mm/fault.c b/arch/avr32/mm/fault.c
index a4b7edac8f10..b3977e9208a3 100644
--- a/arch/avr32/mm/fault.c
+++ b/arch/avr32/mm/fault.c
@@ -10,7 +10,7 @@
  */
 
 #include <linux/mm.h>
-#include <linux/module.h>
+#include <linux/extable.h>
 #include <linux/pagemap.h>
 #include <linux/kdebug.h>
 #include <linux/kprobes.h>
-- 
2.8.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] avr32: migrate exception table users off module.h and onto extable.h
  2016-09-19 21:59 [PATCH] avr32: migrate exception table users off module.h and onto extable.h Paul Gortmaker
@ 2016-09-20  7:26 ` Hans-Christian Noren Egtvedt
  2016-09-20 12:56   ` Paul Gortmaker
  0 siblings, 1 reply; 4+ messages in thread
From: Hans-Christian Noren Egtvedt @ 2016-09-20  7:26 UTC (permalink / raw)
  To: Paul Gortmaker; +Cc: linux-kernel, Haavard Skinnemoen

Around Mon 19 Sep 2016 17:59:49 -0400 or thereabout, 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.
> 
> One uses "print_modules" so that prevents us removing module.h in
> that case, however.
> 
> Cc: Haavard Skinnemoen <hskinnemoen@gmail.com>
> Cc: Hans-Christian Egtvedt <egtvedt@samfundet.no>
> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>

Acked-by: Hans-Christian Noren Egtvedt <egtvedt@samfundet.no>

Do you have a series of fixes like this, or would you like me to push it
through linux-avr32?

> ---
> 
> [see: https://lkml.org/lkml/2016/7/24/224 for additional context if needed]
> 
>  arch/avr32/kernel/traps.c | 3 ++-
>  arch/avr32/mm/fault.c     | 2 +-
>  2 files changed, 3 insertions(+), 2 deletions(-)

<snipp diff>

-- 
Best regards, Hans-Christian Noren Egtvedt

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] avr32: migrate exception table users off module.h and onto extable.h
  2016-09-20  7:26 ` Hans-Christian Noren Egtvedt
@ 2016-09-20 12:56   ` Paul Gortmaker
  2016-09-20 12:59     ` Hans-Christian Noren Egtvedt
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Gortmaker @ 2016-09-20 12:56 UTC (permalink / raw)
  To: Hans-Christian Noren Egtvedt; +Cc: linux-kernel, Haavard Skinnemoen

[Re: [PATCH] avr32: migrate exception table users off module.h and onto extable.h] On 20/09/2016 (Tue 09:26) Hans-Christian Noren Egtvedt wrote:

> Around Mon 19 Sep 2016 17:59:49 -0400 or thereabout, 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.
> > 
> > One uses "print_modules" so that prevents us removing module.h in
> > that case, however.
> > 
> > Cc: Haavard Skinnemoen <hskinnemoen@gmail.com>
> > Cc: Hans-Christian Egtvedt <egtvedt@samfundet.no>
> > Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
> 
> Acked-by: Hans-Christian Noren Egtvedt <egtvedt@samfundet.no>
> 
> Do you have a series of fixes like this, or would you like me to push it
> through linux-avr32?

Please push it through avr32 ;I hope to get down to just the one
(abandoned) m32r arch patch remaining.

THanks,
Paul.
--

> 
> > ---
> > 
> > [see: https://lkml.org/lkml/2016/7/24/224 for additional context if needed]
> > 
> >  arch/avr32/kernel/traps.c | 3 ++-
> >  arch/avr32/mm/fault.c     | 2 +-
> >  2 files changed, 3 insertions(+), 2 deletions(-)
> 
> <snipp diff>
> 
> -- 
> Best regards, Hans-Christian Noren Egtvedt

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] avr32: migrate exception table users off module.h and onto extable.h
  2016-09-20 12:56   ` Paul Gortmaker
@ 2016-09-20 12:59     ` Hans-Christian Noren Egtvedt
  0 siblings, 0 replies; 4+ messages in thread
From: Hans-Christian Noren Egtvedt @ 2016-09-20 12:59 UTC (permalink / raw)
  To: Paul Gortmaker; +Cc: linux-kernel, Haavard Skinnemoen

Around Tue 20 Sep 2016 08:56:01 -0400 or thereabout, Paul Gortmaker wrote:
> [Re: [PATCH] avr32: migrate exception table users off module.h and onto extable.h] On 20/09/2016 (Tue 09:26) Hans-Christian Noren Egtvedt wrote:
> 
>> Around Mon 19 Sep 2016 17:59:49 -0400 or thereabout, 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.
>> > 
>> > One uses "print_modules" so that prevents us removing module.h in
>> > that case, however.
>> > 
>> > Cc: Haavard Skinnemoen <hskinnemoen@gmail.com>
>> > Cc: Hans-Christian Egtvedt <egtvedt@samfundet.no>
>> > Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
>> 
>> Acked-by: Hans-Christian Noren Egtvedt <egtvedt@samfundet.no>
>> 
>> Do you have a series of fixes like this, or would you like me to push it
>> through linux-avr32?
> 
> Please push it through avr32 ;I hope to get down to just the one
> (abandoned) m32r arch patch remaining.

Ack, lined up for next release.

<snipp>

-- 
Best regards, Hans-Christian Noren Egtvedt

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-09-20 12:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-19 21:59 [PATCH] avr32: migrate exception table users off module.h and onto extable.h Paul Gortmaker
2016-09-20  7:26 ` Hans-Christian Noren Egtvedt
2016-09-20 12:56   ` Paul Gortmaker
2016-09-20 12:59     ` Hans-Christian Noren Egtvedt

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.