avr32: migrate exception table users off module.h and onto extable.h
PATCH 1/1 avr32: migrate exception table users off module.h and onto extable.h
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.
---
[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(-)
arch/avr32/kernel/traps.c +2 -1
@@ -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>
arch/avr32/mm/fault.c +1 -1
@@ -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>
Signature · 1 line
2.8.4
Quoted 6 lines · Paul Gortmaker
These files were only including
module.hfor 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 inmodule.hthat we don't really need to compile these files.
Quoted 6 lines
One uses "
print_modules" so that prevents us removingmodule.hin that case, however.Cc Haavard Skinnemoen <[email protected]>Cc Hans-Christian Egtvedt <[email protected]>Signed-off-by Paul Gortmaker <[email protected]>
Do you have a series of fixes like this, or would you like me to push it through linux-avr32?
Quoted 7 lines
---
[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>
Signature · 1 line
Best regards, Hans-Christian Noren Egtvedt
Quoted 10 lines · [Re: [PATCH] avr32: migrate exception table users off module.h and onto…
Quoted 9 lines · Paul Gortmaker
These files were only including
module.hfor 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 inmodule.hthat we don't really need to compile these files.One uses "
print_modules" so that prevents us removingmodule.hin that case, however.
Quoted 8 lines
Quoted 3 lines
Cc Haavard Skinnemoen <[email protected]>Cc Hans-Christian Egtvedt <[email protected]>Signed-off-by Paul Gortmaker <[email protected]>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.
--
Quoted 13 lines
Quoted 8 lines
---
[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>
Signature · 1 line
Best regards, Hans-Christian Noren Egtvedt
Quoted 16 lines · Paul Gortmaker
Quoted 14 lines · [Re: [PATCH] avr32: migrate exception table users off module.h and onto…
Quoted 12 lines · Paul Gortmaker
These files were only including
module.hfor 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 inmodule.hthat we don't really need to compile these files.One uses "
print_modules" so that prevents us removingmodule.hin that case, however.Cc Haavard Skinnemoen <[email protected]>Cc Hans-Christian Egtvedt <[email protected]>Signed-off-by Paul Gortmaker <[email protected]>
Quoted 7 lines
Quoted 4 lines
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>
Signature · 1 line
Best regards, Hans-Christian Noren Egtvedt