import of upstream 2.4.34.4 from kernel.org
[linux-2.4.git] / arch / ia64 / sn / kernel / sn_ksyms.c
1 /* 
2  * This file is subject to the terms and conditions of the GNU General Public
3  * License.  See the file "COPYING" in the main directory of this archive
4  * for more details.
5  *
6  * Copyright (C) 2000-2003 Silicon Graphics, Inc. All rights reserved.
7  */
8
9
10 /*
11  * Architecture-specific kernel symbols
12  */
13
14 #include <linux/config.h>
15 #include <linux/module.h>
16
17 #include <asm/machvec.h>
18 #include <asm/sn/intr.h>
19
20 #include <linux/mm.h>
21 #include <asm/sn/sgi.h>
22 extern vertex_hdl_t          base_io_scsi_ctlr_vhdl[];
23 #include <asm/sn/types.h>
24 extern cnodeid_t master_node_get(devfs_handle_t vhdl);
25 #include <asm/sn/arch.h>
26 EXPORT_SYMBOL(base_io_scsi_ctlr_vhdl);
27 EXPORT_SYMBOL(master_node_get);
28
29
30 /*
31  * symbols referenced by the PCIBA module
32  */
33 #include <asm/sn/invent.h>
34 #include <asm/sn/hcl.h>
35 #include <asm/sn/pci/pciio.h>
36 #include <asm/sn/sn_cpuid.h>
37
38 devfs_handle_t
39 devfn_to_vertex(unsigned char busnum, unsigned int devfn);
40 EXPORT_SYMBOL(devfn_to_vertex);
41 EXPORT_SYMBOL(hwgraph_vertex_unref);
42 EXPORT_SYMBOL(pciio_config_get);
43 EXPORT_SYMBOL(pciio_info_slot_get);
44 EXPORT_SYMBOL(hwgraph_edge_add);
45 EXPORT_SYMBOL(pciio_info_master_get);
46 EXPORT_SYMBOL(pciio_info_get);
47
48 #ifdef CONFIG_IA64_SGI_SN_DEBUG
49 EXPORT_SYMBOL(__pa_debug);
50 EXPORT_SYMBOL(__va_debug);
51 #endif
52
53 /* Support IPIs for loaded modules. */
54 EXPORT_SYMBOL(sn_send_IPI_phys);
55
56 /* symbols referenced by partitioning modules */
57 #include <asm/sn/bte.h>
58 EXPORT_SYMBOL(bte_copy);
59 EXPORT_SYMBOL(bte_unaligned_copy);
60 #include <asm/sal.h>
61 EXPORT_SYMBOL(ia64_sal);
62 EXPORT_SYMBOL(physical_node_map);
63
64 #include <asm/sn/sn_sal.h>
65 EXPORT_SYMBOL(sal_lock);
66 EXPORT_SYMBOL(sn_partid);
67 EXPORT_SYMBOL(sn_system_serial_number_string);
68 EXPORT_SYMBOL(sn_partition_serial_number);
69
70 EXPORT_SYMBOL(sn_mmiob);
71
72 /* added by tduffy 04.08.01 to fix depmod issues */
73 #include <linux/mmzone.h>
74
75 extern nasid_t master_nasid;
76 EXPORT_SYMBOL(master_nasid);
77
78 EXPORT_SYMBOL(sn_flush_all_caches);