Commit 29abfbd9 authored by Al Viro's avatar Al Viro

mips: separate extable.h, switch module.h to it

more victims of indirect include chains - au1200fb
lasat/picvue_proc and watchdog/ath79_wdt

... as well as tb0219, spotted by Sudip Mukherjee
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 45caf470
#ifndef _ASM_EXTABLE_H
#define _ASM_EXTABLE_H
struct exception_table_entry
{
unsigned long insn;
unsigned long nextinsn;
};
struct pt_regs;
extern int fixup_exception(struct pt_regs *regs);
#endif
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
#include <linux/list.h> #include <linux/list.h>
#include <linux/elf.h> #include <linux/elf.h>
#include <asm/uaccess.h> #include <asm/extable.h>
struct mod_arch_specific { struct mod_arch_specific {
/* Data Bus Error exception tables */ /* Data Bus Error exception tables */
......
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
#include <linux/thread_info.h> #include <linux/thread_info.h>
#include <linux/string.h> #include <linux/string.h>
#include <asm/asm-eva.h> #include <asm/asm-eva.h>
#include <asm/extable.h>
/* /*
* The fs value determines whether argument validity checking should be * The fs value determines whether argument validity checking should be
...@@ -1485,12 +1486,4 @@ static inline long strnlen_user(const char __user *s, long n) ...@@ -1485,12 +1486,4 @@ static inline long strnlen_user(const char __user *s, long n)
return res; return res;
} }
struct exception_table_entry
{
unsigned long insn;
unsigned long nextinsn;
};
extern int fixup_exception(struct pt_regs *regs);
#endif /* _ASM_UACCESS_H */ #endif /* _ASM_UACCESS_H */
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
#include <linux/timer.h> #include <linux/timer.h>
#include <linux/mutex.h> #include <linux/mutex.h>
#include <linux/uaccess.h>
#include "picvue.h" #include "picvue.h"
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/uaccess.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/reboot.h> #include <asm/reboot.h>
......
...@@ -43,6 +43,7 @@ ...@@ -43,6 +43,7 @@
#include <linux/ctype.h> #include <linux/ctype.h>
#include <linux/dma-mapping.h> #include <linux/dma-mapping.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/uaccess.h>
#include <asm/mach-au1x00/au1000.h> #include <asm/mach-au1x00/au1000.h>
#include <asm/mach-au1x00/au1200fb.h> /* platform_data */ #include <asm/mach-au1x00/au1200fb.h> /* platform_data */
......
...@@ -35,6 +35,7 @@ ...@@ -35,6 +35,7 @@
#include <linux/err.h> #include <linux/err.h>
#include <linux/of.h> #include <linux/of.h>
#include <linux/of_platform.h> #include <linux/of_platform.h>
#include <linux/uaccess.h>
#define DRIVER_NAME "ath79-wdt" #define DRIVER_NAME "ath79-wdt"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment