sparc64: move EXPORT_SYMBOL to the symbols definition
Move all applicable EXPORT_SYMBOL()s to the file where the respective symbol is defined. Removed all the includes that are no longer needed in sparc_ksyms_64.c Comment all remaining EXPORT_SYMBOL()s in sparc_ksyms_64.c Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Additions by Julian Calaby: * Moved EXPORT_SYMBOL()s for prom functions to their rightful places. * Made some minor cleanups to the includes and comments of sparc_ksyms_64.c * Updated and tidied commit message. * Rebased patch over sparc-2.6.git HEAD. * Ensured that all modified files have the correct includes. Signed-off-by: Julian Calaby <julian.calaby@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
6943f3da3e
commit
917c3660d6
@ -128,6 +128,7 @@ void do_BUG(const char *file, int line)
|
||||
bust_spinlocks(1);
|
||||
printk("kernel BUG at %s:%d!\n", file, line);
|
||||
}
|
||||
EXPORT_SYMBOL(do_BUG);
|
||||
#endif
|
||||
|
||||
static DEFINE_SPINLOCK(dimm_handler_lock);
|
||||
@ -2261,6 +2262,7 @@ void die_if_kernel(char *str, struct pt_regs *regs)
|
||||
do_exit(SIGKILL);
|
||||
do_exit(SIGSEGV);
|
||||
}
|
||||
EXPORT_SYMBOL(die_if_kernel);
|
||||
|
||||
#define VIS_OPCODE_MASK ((0x3 << 30) | (0x3f << 19))
|
||||
#define VIS_OPCODE_VAL ((0x2 << 30) | (0x36 << 19))
|
||||
|
Reference in New Issue
Block a user