David S. Miller | 8b99cfb | 2007-07-14 02:23:37 -0700 | [diff] [blame] | 1 | /* arch/sparc64/kernel/sparc64_ksyms.c: Sparc64 specific ksyms support. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | * |
David S. Miller | 8b99cfb | 2007-07-14 02:23:37 -0700 | [diff] [blame] | 3 | * Copyright (C) 1996, 2007 David S. Miller (davem@davemloft.net) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 4 | * Copyright (C) 1996 Eddie C. Dost (ecd@skynet.be) |
| 5 | * Copyright (C) 1999 Jakub Jelinek (jj@ultra.linux.cz) |
| 6 | */ |
| 7 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 8 | #include <linux/module.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 9 | #include <linux/pci.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 10 | #include <linux/init.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 12 | #include <asm/system.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | #include <asm/cpudata.h> |
Sam Ravnborg | 917c366 | 2009-01-08 16:58:20 -0800 | [diff] [blame] | 14 | #include <asm/uaccess.h> |
| 15 | #include <asm/spitfire.h> |
| 16 | #include <asm/oplib.h> |
David S. Miller | 3178a07 | 2008-11-28 02:26:55 -0800 | [diff] [blame] | 17 | #include <asm/hypervisor.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 18 | |
| 19 | struct poll { |
| 20 | int fd; |
| 21 | short events; |
| 22 | short revents; |
| 23 | }; |
| 24 | |
Sam Ravnborg | 917c366 | 2009-01-08 16:58:20 -0800 | [diff] [blame] | 25 | /* from helpers.S */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 26 | EXPORT_SYMBOL(__flushw_user); |
Sam Ravnborg | 917c366 | 2009-01-08 16:58:20 -0800 | [diff] [blame] | 27 | EXPORT_SYMBOL_GPL(real_hard_smp_processor_id); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 28 | |
Sam Ravnborg | 917c366 | 2009-01-08 16:58:20 -0800 | [diff] [blame] | 29 | /* from head_64.S */ |
| 30 | EXPORT_SYMBOL(__ret_efault); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 31 | EXPORT_SYMBOL(tlb_type); |
David S. Miller | 6c70b6f | 2007-08-08 17:11:39 -0700 | [diff] [blame] | 32 | EXPORT_SYMBOL(sun4v_chip_type); |
Sam Ravnborg | 917c366 | 2009-01-08 16:58:20 -0800 | [diff] [blame] | 33 | EXPORT_SYMBOL(prom_root_node); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 34 | |
Sam Ravnborg | 917c366 | 2009-01-08 16:58:20 -0800 | [diff] [blame] | 35 | /* from hvcalls.S */ |
David S. Miller | 3178a07 | 2008-11-28 02:26:55 -0800 | [diff] [blame] | 36 | EXPORT_SYMBOL(sun4v_niagara_getperf); |
| 37 | EXPORT_SYMBOL(sun4v_niagara_setperf); |
| 38 | EXPORT_SYMBOL(sun4v_niagara2_getperf); |
| 39 | EXPORT_SYMBOL(sun4v_niagara2_setperf); |
| 40 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 41 | #ifdef CONFIG_PCI |
Sam Ravnborg | 917c366 | 2009-01-08 16:58:20 -0800 | [diff] [blame] | 42 | /* inline functions in asm/pci_64.h */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 43 | EXPORT_SYMBOL(pci_alloc_consistent); |
| 44 | EXPORT_SYMBOL(pci_free_consistent); |
| 45 | EXPORT_SYMBOL(pci_map_single); |
| 46 | EXPORT_SYMBOL(pci_unmap_single); |
| 47 | EXPORT_SYMBOL(pci_map_sg); |
| 48 | EXPORT_SYMBOL(pci_unmap_sg); |
| 49 | EXPORT_SYMBOL(pci_dma_sync_single_for_cpu); |
| 50 | EXPORT_SYMBOL(pci_dma_sync_sg_for_cpu); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 51 | #endif |
| 52 | |
Sam Ravnborg | 917c366 | 2009-01-08 16:58:20 -0800 | [diff] [blame] | 53 | /* Exporting a symbol from /init/main.c */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 54 | EXPORT_SYMBOL(saved_command_line); |