Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6
[linux-2.6] / arch / sparc / kernel / sparc_ksyms_64.c
1 /* arch/sparc64/kernel/sparc64_ksyms.c: Sparc64 specific ksyms support.
2  *
3  * Copyright (C) 1996, 2007 David S. Miller (davem@davemloft.net)
4  * Copyright (C) 1996 Eddie C. Dost (ecd@skynet.be)
5  * Copyright (C) 1999 Jakub Jelinek (jj@ultra.linux.cz)
6  */
7
8 #include <linux/module.h>
9 #include <linux/pci.h>
10 #include <linux/init.h>
11
12 #include <asm/system.h>
13 #include <asm/cpudata.h>
14 #include <asm/uaccess.h>
15 #include <asm/spitfire.h>
16 #include <asm/oplib.h>
17 #include <asm/hypervisor.h>
18
19 struct poll {
20         int fd;
21         short events;
22         short revents;
23 };
24
25 /* from helpers.S */
26 EXPORT_SYMBOL(__flushw_user);
27 EXPORT_SYMBOL_GPL(real_hard_smp_processor_id);
28
29 /* from head_64.S */
30 EXPORT_SYMBOL(__ret_efault);
31 EXPORT_SYMBOL(tlb_type);
32 EXPORT_SYMBOL(sun4v_chip_type);
33 EXPORT_SYMBOL(prom_root_node);
34
35 /* from hvcalls.S */
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
41 #ifdef CONFIG_PCI
42 /* inline functions in asm/pci_64.h */
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);
51 #endif
52
53 /* Exporting a symbol from /init/main.c */
54 EXPORT_SYMBOL(saved_command_line);