Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

exceptions: detritus removal

externs and defines for stuff that is never used

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

Al Viro df720ac1 3be79886

+1 -29
-1
arch/arm/mm/fault.h
··· 23 23 #endif 24 24 25 25 void do_bad_area(unsigned long addr, unsigned int fsr, struct pt_regs *regs); 26 - unsigned long search_exception_table(unsigned long addr); 27 26 void early_abt_enable(void); 28 27 29 28 #endif /* __ARCH_ARM_FAULT_H */
-3
arch/m68k/include/asm/uaccess_no.h
··· 44 44 unsigned long insn, fixup; 45 45 }; 46 46 47 - /* Returns 0 if exception not found and fixup otherwise. */ 48 - extern unsigned long search_exception_table(unsigned long); 49 - 50 47 51 48 /* 52 49 * These are the main single-value transfer routines. They automatically
-3
arch/microblaze/include/asm/uaccess.h
··· 71 71 unsigned long insn, fixup; 72 72 }; 73 73 74 - /* Returns 0 if exception not found and fixup otherwise. */ 75 - extern unsigned long search_exception_table(unsigned long); 76 - 77 74 #ifndef CONFIG_MMU 78 75 79 76 /* Check against bounds of physical memory */
-4
arch/openrisc/include/asm/uaccess.h
··· 82 82 unsigned long insn, fixup; 83 83 }; 84 84 85 - /* Returns 0 if exception not found and fixup otherwise. */ 86 - extern unsigned long search_exception_table(unsigned long); 87 - extern void sort_exception_table(void); 88 - 89 85 /* 90 86 * These are the main single-value transfer routines. They automatically 91 87 * use the right size if we just have the right pointer type.
-2
arch/sh/include/asm/uaccess.h
··· 192 192 #endif 193 193 194 194 int fixup_exception(struct pt_regs *regs); 195 - /* Returns 0 if exception not found and fixup.unit otherwise. */ 196 - unsigned long search_exception_table(unsigned long addr); 197 195 const struct exception_table_entry *search_exception_tables(unsigned long addr); 198 196 199 197 extern void *set_exception_table_vec(unsigned int vec, void *handler);
+1 -1
arch/x86/mm/fault.c
··· 5 5 */ 6 6 #include <linux/sched.h> /* test_thread_flag(), ... */ 7 7 #include <linux/kdebug.h> /* oops_begin/end, ... */ 8 - #include <linux/module.h> /* search_exception_table */ 8 + #include <linux/module.h> /* search_exception_tables */ 9 9 #include <linux/bootmem.h> /* max_low_pfn */ 10 10 #include <linux/kprobes.h> /* NOKPROBE_SYMBOL, ... */ 11 11 #include <linux/mmiotrace.h> /* kmmio_handler, ... */
-11
arch/xtensa/include/asm/uaccess.h
··· 495 495 unsigned long insn, fixup; 496 496 }; 497 497 498 - /* Returns 0 if exception not found and fixup.unit otherwise. */ 499 - 500 - extern unsigned long search_exception_table(unsigned long addr); 501 - extern void sort_exception_table(void); 502 - 503 - /* Returns the new pc */ 504 - #define fixup_exception(map_reg, fixup_unit, pc) \ 505 - ({ \ 506 - fixup_unit; \ 507 - }) 508 - 509 498 #endif /* __ASSEMBLY__ */ 510 499 #endif /* _XTENSA_UACCESS_H */
-4
include/asm-generic/uaccess.h
··· 69 69 unsigned long insn, fixup; 70 70 }; 71 71 72 - /* Returns 0 if exception not found and fixup otherwise. */ 73 - extern unsigned long search_exception_table(unsigned long); 74 - 75 - 76 72 /* 77 73 * architectures with an MMU should override these two 78 74 */