arm: migrate exception table users off module.h and onto extable.h
PATCH 1/1 arm: 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.
Cc Russell King <[email protected]>
Cc linux-arm-kernel at lists.infradead.org
Signed-off-by Paul Gortmaker <[email protected]>
---
[see: https://lkml.org/lkml/2016/7/24/224 for additional context if needed]
arch/arm/mm/extable.c | 2 +- arch/arm/mm/fault.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
arch/arm/mm/extable.c +1 -1
@@ -1,7 +1,7 @@/* * linux/arch/arm/mm/extable.c */ -#include <linux/module.h> +#include <linux/extable.h> #include <linux/uaccess.h> int fixup_exception (struct pt_regs *regs)
arch/arm/mm/fault.c +1 -1
@@ -8,7 +8,7 @@* it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ -#include <linux/module.h> +#include <linux/extable.h> #include <linux/signal.h> #include <linux/mm.h> #include <linux/hardirq.h>
Signature · 1 line
2.8.4