x86: Migrate exception table users off module.h and onto extable.h
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 19 Sep 2016 21:04:18 +0000 (17:04 -0400)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 19 Sep 2016 23:05:43 +0000 (01:05 +0200)
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.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Acked-by: Ingo Molnar <mingo@kernel.org>
Link: http://lkml.kernel.org/r/20160919210418.30243-1-paul.gortmaker@windriver.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/kprobes/core.c
arch/x86/kernel/kprobes/opt.c
arch/x86/mm/extable.c
arch/x86/mm/fault.c

index 7847e5c0e0b5d0ce9af2cd47274b52bab7f2597a..28cee019209ce7f7fd9ec160e4409fecf000819f 100644 (file)
@@ -45,7 +45,7 @@
 #include <linux/slab.h>
 #include <linux/hardirq.h>
 #include <linux/preempt.h>
-#include <linux/module.h>
+#include <linux/extable.h>
 #include <linux/kdebug.h>
 #include <linux/kallsyms.h>
 #include <linux/ftrace.h>
index 4425f593f0ec8c6f9d0842054e5986ed28f99fc2..3bb4c5f021f6a6e74af13fd6b974e6dd600b64c1 100644 (file)
@@ -24,7 +24,7 @@
 #include <linux/slab.h>
 #include <linux/hardirq.h>
 #include <linux/preempt.h>
-#include <linux/module.h>
+#include <linux/extable.h>
 #include <linux/kdebug.h>
 #include <linux/kallsyms.h>
 #include <linux/ftrace.h>
index 832b98f822be72b07fe7f5ec7750cad63d0249bb..79ae939970d3f49065fa4f0ed3dcc6d769ddf48a 100644 (file)
@@ -1,4 +1,4 @@
-#include <linux/module.h>
+#include <linux/extable.h>
 #include <asm/uaccess.h>
 #include <asm/traps.h>
 #include <asm/kdebug.h>
index dc802306045653be7177fd619cdc3dffbcd92815..79ae05477d9474a2446dd22e488b9b9c9ebcfe15 100644 (file)
@@ -5,7 +5,7 @@
  */
 #include <linux/sched.h>               /* test_thread_flag(), ...      */
 #include <linux/kdebug.h>              /* oops_begin/end, ...          */
-#include <linux/module.h>              /* search_exception_table       */
+#include <linux/extable.h>             /* search_exception_table       */
 #include <linux/bootmem.h>             /* max_low_pfn                  */
 #include <linux/kprobes.h>             /* NOKPROBE_SYMBOL, ...         */
 #include <linux/mmiotrace.h>           /* kmmio_handler, ...           */