6943f3da3e
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_32.c Comment all remaining EXPORT_SYMBOL()s in sparc_ksyms_32.c Two symbols are shared with sparc64 thus the exports were removed from the sparc_ksyms_64.c too, along with the include their ommission made redundant. 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_32.c * Made another subtraction from 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>
48 lines
1.1 KiB
C
48 lines
1.1 KiB
C
/*
|
|
* arch/sparc/kernel/ksyms.c: Sparc specific ksyms support.
|
|
*
|
|
* Copyright (C) 1996 David S. Miller (davem@caip.rutgers.edu)
|
|
* Copyright (C) 1996 Eddie C. Dost (ecd@skynet.be)
|
|
*/
|
|
|
|
#define PROMLIB_INTERNAL
|
|
|
|
#include <linux/module.h>
|
|
#include <linux/init.h>
|
|
|
|
#include <asm/pgtable.h>
|
|
#include <asm/uaccess.h>
|
|
#include <asm/delay.h>
|
|
#include <asm/head.h>
|
|
#include <asm/dma.h>
|
|
|
|
struct poll {
|
|
int fd;
|
|
short events;
|
|
short revents;
|
|
};
|
|
|
|
/* from entry.S */
|
|
EXPORT_SYMBOL(__udelay);
|
|
EXPORT_SYMBOL(__ndelay);
|
|
|
|
/* from head_32.S */
|
|
EXPORT_SYMBOL(__ret_efault);
|
|
EXPORT_SYMBOL(empty_zero_page);
|
|
|
|
/* Defined using magic */
|
|
#ifndef CONFIG_SMP
|
|
EXPORT_SYMBOL(BTFIXUP_CALL(___xchg32));
|
|
#else
|
|
EXPORT_SYMBOL(BTFIXUP_CALL(__hard_smp_processor_id));
|
|
#endif
|
|
EXPORT_SYMBOL(BTFIXUP_CALL(mmu_unlockarea));
|
|
EXPORT_SYMBOL(BTFIXUP_CALL(mmu_lockarea));
|
|
EXPORT_SYMBOL(BTFIXUP_CALL(mmu_get_scsi_sgl));
|
|
EXPORT_SYMBOL(BTFIXUP_CALL(mmu_get_scsi_one));
|
|
EXPORT_SYMBOL(BTFIXUP_CALL(mmu_release_scsi_sgl));
|
|
EXPORT_SYMBOL(BTFIXUP_CALL(mmu_release_scsi_one));
|
|
EXPORT_SYMBOL(BTFIXUP_CALL(pgprot_noncached));
|
|
|
|
/* Exporting a symbol from /init/main.c */
|
|
EXPORT_SYMBOL(saved_command_line);
|