Merge branch 'topic/snd_card_new-err' into topic/asoc
[cascardo/linux.git] / 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/spinlock.h>
13 #include <asm/system.h>
14 #include <asm/cpudata.h>
15 #include <asm/uaccess.h>
16 #include <asm/spitfire.h>
17 #include <asm/oplib.h>
18 #include <asm/hypervisor.h>
19
20 struct poll {
21         int fd;
22         short events;
23         short revents;
24 };
25
26 /* used by various drivers */
27 #ifdef CONFIG_SMP
28 /* Out of line rw-locking implementation. */
29 EXPORT_SYMBOL(__read_lock);
30 EXPORT_SYMBOL(__read_unlock);
31 EXPORT_SYMBOL(__write_lock);
32 EXPORT_SYMBOL(__write_unlock);
33 EXPORT_SYMBOL(__write_trylock);
34 #endif /* CONFIG_SMP */
35
36 /* from helpers.S */
37 EXPORT_SYMBOL(__flushw_user);
38 EXPORT_SYMBOL_GPL(real_hard_smp_processor_id);
39
40 /* from head_64.S */
41 EXPORT_SYMBOL(__ret_efault);
42 EXPORT_SYMBOL(tlb_type);
43 EXPORT_SYMBOL(sun4v_chip_type);
44 EXPORT_SYMBOL(prom_root_node);
45
46 /* from hvcalls.S */
47 EXPORT_SYMBOL(sun4v_niagara_getperf);
48 EXPORT_SYMBOL(sun4v_niagara_setperf);
49 EXPORT_SYMBOL(sun4v_niagara2_getperf);
50 EXPORT_SYMBOL(sun4v_niagara2_setperf);
51
52 #ifdef CONFIG_PCI
53 /* inline functions in asm/pci_64.h */
54 EXPORT_SYMBOL(pci_alloc_consistent);
55 EXPORT_SYMBOL(pci_free_consistent);
56 EXPORT_SYMBOL(pci_map_single);
57 EXPORT_SYMBOL(pci_unmap_single);
58 EXPORT_SYMBOL(pci_map_sg);
59 EXPORT_SYMBOL(pci_unmap_sg);
60 EXPORT_SYMBOL(pci_dma_sync_single_for_cpu);
61 EXPORT_SYMBOL(pci_dma_sync_sg_for_cpu);
62 #endif
63
64 /* Exporting a symbol from /init/main.c */
65 EXPORT_SYMBOL(saved_command_line);