sparc: move EXPORT_SYMBOL to the symbols definition
[linux-2.6] / arch / sparc / kernel / sparc_ksyms_32.c
1 /*
2  * arch/sparc/kernel/ksyms.c: Sparc specific ksyms support.
3  *
4  * Copyright (C) 1996 David S. Miller (davem@caip.rutgers.edu)
5  * Copyright (C) 1996 Eddie C. Dost (ecd@skynet.be)
6  */
7
8 #define PROMLIB_INTERNAL
9
10 #include <linux/module.h>
11 #include <linux/init.h>
12
13 #include <asm/pgtable.h>
14 #include <asm/uaccess.h>
15 #include <asm/delay.h>
16 #include <asm/head.h>
17 #include <asm/dma.h>
18
19 struct poll {
20         int fd;
21         short events;
22         short revents;
23 };
24
25 /* from entry.S */
26 EXPORT_SYMBOL(__udelay);
27 EXPORT_SYMBOL(__ndelay);
28
29 /* from head_32.S */
30 EXPORT_SYMBOL(__ret_efault);
31 EXPORT_SYMBOL(empty_zero_page);
32
33 /* Defined using magic */
34 #ifndef CONFIG_SMP
35 EXPORT_SYMBOL(BTFIXUP_CALL(___xchg32));
36 #else
37 EXPORT_SYMBOL(BTFIXUP_CALL(__hard_smp_processor_id));
38 #endif
39 EXPORT_SYMBOL(BTFIXUP_CALL(mmu_unlockarea));
40 EXPORT_SYMBOL(BTFIXUP_CALL(mmu_lockarea));
41 EXPORT_SYMBOL(BTFIXUP_CALL(mmu_get_scsi_sgl));
42 EXPORT_SYMBOL(BTFIXUP_CALL(mmu_get_scsi_one));
43 EXPORT_SYMBOL(BTFIXUP_CALL(mmu_release_scsi_sgl));
44 EXPORT_SYMBOL(BTFIXUP_CALL(mmu_release_scsi_one));
45 EXPORT_SYMBOL(BTFIXUP_CALL(pgprot_noncached));
46
47 /* Exporting a symbol from /init/main.c */
48 EXPORT_SYMBOL(saved_command_line);