Explorar el Código

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.

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>
Paul Gortmaker hace 9 años
padre
commit
9a2950fe9c
Se han modificado 2 ficheros con 3 adiciones y 2 borrados
  1. 2 1
      arch/avr32/kernel/traps.c
  2. 1 1
      arch/avr32/mm/fault.c

+ 2 - 1
arch/avr32/kernel/traps.c

@@ -11,7 +11,8 @@
 #include <linux/init.h>
 #include <linux/init.h>
 #include <linux/kallsyms.h>
 #include <linux/kallsyms.h>
 #include <linux/kdebug.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/notifier.h>
 #include <linux/sched.h>
 #include <linux/sched.h>
 #include <linux/uaccess.h>
 #include <linux/uaccess.h>

+ 1 - 1
arch/avr32/mm/fault.c

@@ -10,7 +10,7 @@
  */
  */
 
 
 #include <linux/mm.h>
 #include <linux/mm.h>
-#include <linux/module.h>
+#include <linux/extable.h>
 #include <linux/pagemap.h>
 #include <linux/pagemap.h>
 #include <linux/kdebug.h>
 #include <linux/kdebug.h>
 #include <linux/kprobes.h>
 #include <linux/kprobes.h>