blob: 0f26066a08d9a897cef4fb5e8a9b3c21a8461d9d [file] [log] [blame]
David S. Miller8b99cfb2007-07-14 02:23:37 -07001/* arch/sparc64/kernel/sparc64_ksyms.c: Sparc64 specific ksyms support.
Linus Torvalds1da177e2005-04-16 15:20:36 -07002 *
David S. Miller8b99cfb2007-07-14 02:23:37 -07003 * Copyright (C) 1996, 2007 David S. Miller (davem@davemloft.net)
Linus Torvalds1da177e2005-04-16 15:20:36 -07004 * Copyright (C) 1996 Eddie C. Dost (ecd@skynet.be)
5 * Copyright (C) 1999 Jakub Jelinek (jj@ultra.linux.cz)
6 */
7
Linus Torvalds1da177e2005-04-16 15:20:36 -07008#include <linux/module.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -07009#include <linux/pci.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070010#include <linux/init.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070011
Linus Torvalds1da177e2005-04-16 15:20:36 -070012#include <asm/system.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070013#include <asm/cpudata.h>
Sam Ravnborg917c3662009-01-08 16:58:20 -080014#include <asm/uaccess.h>
15#include <asm/spitfire.h>
16#include <asm/oplib.h>
David S. Miller3178a072008-11-28 02:26:55 -080017#include <asm/hypervisor.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070018
19struct poll {
20 int fd;
21 short events;
22 short revents;
23};
24
Sam Ravnborg917c3662009-01-08 16:58:20 -080025/* from helpers.S */
Linus Torvalds1da177e2005-04-16 15:20:36 -070026EXPORT_SYMBOL(__flushw_user);
Sam Ravnborg917c3662009-01-08 16:58:20 -080027EXPORT_SYMBOL_GPL(real_hard_smp_processor_id);
Linus Torvalds1da177e2005-04-16 15:20:36 -070028
Sam Ravnborg917c3662009-01-08 16:58:20 -080029/* from head_64.S */
30EXPORT_SYMBOL(__ret_efault);
Linus Torvalds1da177e2005-04-16 15:20:36 -070031EXPORT_SYMBOL(tlb_type);
David S. Miller6c70b6f2007-08-08 17:11:39 -070032EXPORT_SYMBOL(sun4v_chip_type);
Sam Ravnborg917c3662009-01-08 16:58:20 -080033EXPORT_SYMBOL(prom_root_node);
Linus Torvalds1da177e2005-04-16 15:20:36 -070034
Sam Ravnborg917c3662009-01-08 16:58:20 -080035/* from hvcalls.S */
David S. Miller3178a072008-11-28 02:26:55 -080036EXPORT_SYMBOL(sun4v_niagara_getperf);
37EXPORT_SYMBOL(sun4v_niagara_setperf);
38EXPORT_SYMBOL(sun4v_niagara2_getperf);
39EXPORT_SYMBOL(sun4v_niagara2_setperf);
40
Linus Torvalds1da177e2005-04-16 15:20:36 -070041#ifdef CONFIG_PCI
Sam Ravnborg917c3662009-01-08 16:58:20 -080042/* inline functions in asm/pci_64.h */
Linus Torvalds1da177e2005-04-16 15:20:36 -070043EXPORT_SYMBOL(pci_alloc_consistent);
44EXPORT_SYMBOL(pci_free_consistent);
45EXPORT_SYMBOL(pci_map_single);
46EXPORT_SYMBOL(pci_unmap_single);
47EXPORT_SYMBOL(pci_map_sg);
48EXPORT_SYMBOL(pci_unmap_sg);
49EXPORT_SYMBOL(pci_dma_sync_single_for_cpu);
50EXPORT_SYMBOL(pci_dma_sync_sg_for_cpu);
Linus Torvalds1da177e2005-04-16 15:20:36 -070051#endif
52
Sam Ravnborg917c3662009-01-08 16:58:20 -080053/* Exporting a symbol from /init/main.c */
Linus Torvalds1da177e2005-04-16 15:20:36 -070054EXPORT_SYMBOL(saved_command_line);