Ver código fonte

unicore32: migrate exception table users off module.h and onto extable.h

This file was 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 this file.

Cc: Guan Xuetao <gxt@mprc.pku.edu.cn>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Paul Gortmaker 8 anos atrás
pai
commit
0f91f3f6fa
2 arquivos alterados com 2 adições e 2 exclusões
  1. 1 1
      arch/unicore32/mm/extable.c
  2. 1 1
      arch/unicore32/mm/fault.c

+ 1 - 1
arch/unicore32/mm/extable.c

@@ -9,7 +9,7 @@
  * it under the terms of the GNU General Public License version 2 as
  * it under the terms of the GNU General Public License version 2 as
  * published by the Free Software Foundation.
  * published by the Free Software Foundation.
  */
  */
-#include <linux/module.h>
+#include <linux/extable.h>
 #include <linux/uaccess.h>
 #include <linux/uaccess.h>
 
 
 int fixup_exception(struct pt_regs *regs)
 int fixup_exception(struct pt_regs *regs)

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

@@ -9,7 +9,7 @@
  * it under the terms of the GNU General Public License version 2 as
  * it under the terms of the GNU General Public License version 2 as
  * published by the Free Software Foundation.
  * published by the Free Software Foundation.
  */
  */
-#include <linux/module.h>
+#include <linux/extable.h>
 #include <linux/signal.h>
 #include <linux/signal.h>
 #include <linux/mm.h>
 #include <linux/mm.h>
 #include <linux/hardirq.h>
 #include <linux/hardirq.h>