sparc: migrate exception table users off module.h and onto extable.h
PATCH 1/1 sparc: 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.
---
[see: https://lkml.org/lkml/2016/7/24/224 for additional context if needed]
arch/sparc/kernel/kprobes.c | 2 +- arch/sparc/kernel/traps_64.c | 2 +- arch/sparc/kernel/unaligned_64.c | 2 +- arch/sparc/mm/fault_64.c | 2 +- arch/sparc/mm/init_64.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-)
arch/sparc/kernel/kprobes.c +1 -1
@@ -5,7 +5,7 @@#include <linux/kernel.h> #include <linux/kprobes.h> -#include <linux/module.h> +#include <linux/extable.h> #include <linux/kdebug.h> #include <linux/slab.h> #include <linux/context_tracking.h>
arch/sparc/kernel/traps_64.c +1 -1
@@ -8,7 +8,7 @@* I like traps on v9, :)))) */ -#include <linux/module.h> +#include <linux/extable.h> #include <linux/sched.h> #include <linux/linkage.h> #include <linux/kernel.h>
arch/sparc/kernel/unaligned_64.c +1 -1
@@ -11,7 +11,7 @@#include <linux/kernel.h> #include <linux/sched.h> #include <linux/mm.h> -#include <linux/module.h> +#include <linux/extable.h> #include <asm/asi.h> #include <asm/ptrace.h> #include <asm/pstate.h>
arch/sparc/mm/fault_64.c +1 -1
@@ -14,7 +14,7 @@#include <linux/mman.h> #include <linux/signal.h> #include <linux/mm.h> -#include <linux/module.h> +#include <linux/extable.h> #include <linux/init.h> #include <linux/perf_event.h> #include <linux/interrupt.h>
arch/sparc/mm/init_64.c +1 -1
@@ -5,7 +5,7 @@* Copyright (C) 1997-1999 Jakub Jelinek ([email protected]) */ -#include <linux/module.h> +#include <linux/extable.h> #include <linux/kernel.h> #include <linux/sched.h> #include <linux/string.h>
Signature · 1 line
2.8.4
From: Paul Gortmaker <[email protected]>
Date: Mon, 19 Sep 2016 17:36:29 -0400
Quoted 9 lines
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.Cc "David S. Miller" <[email protected]>Signed-off-by Paul Gortmaker <[email protected]>
Applied.