Adrian Bunk | 88278ca | 2008-05-19 16:53:02 -0700 | [diff] [blame] | 1 | /* |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 8 | #include <linux/module.h> |
| 9 | #include <linux/init.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 10 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 | #include <asm/pgtable.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 12 | #include <asm/uaccess.h> |
Sam Ravnborg | 6943f3d | 2009-01-08 16:58:05 -0800 | [diff] [blame] | 13 | #include <asm/delay.h> |
| 14 | #include <asm/head.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 15 | #include <asm/dma.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 16 | |
| 17 | struct poll { |
| 18 | int fd; |
| 19 | short events; |
| 20 | short revents; |
| 21 | }; |
| 22 | |
Sam Ravnborg | 6943f3d | 2009-01-08 16:58:05 -0800 | [diff] [blame] | 23 | /* from entry.S */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 24 | EXPORT_SYMBOL(__udelay); |
| 25 | EXPORT_SYMBOL(__ndelay); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 26 | |
Sam Ravnborg | 6943f3d | 2009-01-08 16:58:05 -0800 | [diff] [blame] | 27 | /* from head_32.S */ |
| 28 | EXPORT_SYMBOL(__ret_efault); |
| 29 | EXPORT_SYMBOL(empty_zero_page); |
| 30 | |
| 31 | /* Defined using magic */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 32 | #ifndef CONFIG_SMP |
| 33 | EXPORT_SYMBOL(BTFIXUP_CALL(___xchg32)); |
| 34 | #else |
| 35 | EXPORT_SYMBOL(BTFIXUP_CALL(__hard_smp_processor_id)); |
| 36 | #endif |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 37 | EXPORT_SYMBOL(BTFIXUP_CALL(mmu_unlockarea)); |
| 38 | EXPORT_SYMBOL(BTFIXUP_CALL(mmu_lockarea)); |
| 39 | EXPORT_SYMBOL(BTFIXUP_CALL(mmu_get_scsi_sgl)); |
| 40 | EXPORT_SYMBOL(BTFIXUP_CALL(mmu_get_scsi_one)); |
| 41 | EXPORT_SYMBOL(BTFIXUP_CALL(mmu_release_scsi_sgl)); |
| 42 | EXPORT_SYMBOL(BTFIXUP_CALL(mmu_release_scsi_one)); |
Al Viro | 86ac92e | 2007-07-22 00:38:24 -0700 | [diff] [blame] | 43 | EXPORT_SYMBOL(BTFIXUP_CALL(pgprot_noncached)); |
| 44 | |
Sam Ravnborg | 6943f3d | 2009-01-08 16:58:05 -0800 | [diff] [blame] | 45 | /* Exporting a symbol from /init/main.c */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 46 | EXPORT_SYMBOL(saved_command_line); |