avr32: migrate exception table users off module.h and onto extable.h
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 19 Sep 2016 21:59:49 +0000 (17:59 -0400)
committerHans-Christian Noren Egtvedt <egtvedt@samfundet.no>
Mon, 3 Oct 2016 06:49:31 +0000 (08:49 +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.

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>
arch/avr32/kernel/traps.c
arch/avr32/mm/fault.c

index 682b2478691a7572a8edf101a9f5f0fd8d41fd61..eb4a3fcfbaff176e5cd814f4ea7abfbe92807897 100644 (file)
@@ -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>
index a4b7edac8f109a3a9eed44c05e63b43ec437897e..b3977e9208a38c570fc976a7fcd04525497da9f7 100644 (file)
@@ -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>