Commit | Line | Data |
---|---|---|
8b99cfb8 | 1 | /* arch/sparc64/kernel/sparc64_ksyms.c: Sparc64 specific ksyms support. |
1da177e4 | 2 | * |
8b99cfb8 | 3 | * Copyright (C) 1996, 2007 David S. Miller (davem@davemloft.net) |
1da177e4 LT |
4 | * Copyright (C) 1996 Eddie C. Dost (ecd@skynet.be) |
5 | * Copyright (C) 1999 Jakub Jelinek (jj@ultra.linux.cz) | |
6 | */ | |
7 | ||
066bcaca | 8 | #include <linux/export.h> |
1da177e4 | 9 | #include <linux/pci.h> |
ef7c4d46 | 10 | #include <linux/bitops.h> |
1da177e4 | 11 | |
1da177e4 | 12 | #include <asm/cpudata.h> |
917c3660 SR |
13 | #include <asm/uaccess.h> |
14 | #include <asm/spitfire.h> | |
15 | #include <asm/oplib.h> | |
3178a07c | 16 | #include <asm/hypervisor.h> |
d550bbd4 | 17 | #include <asm/cacheflush.h> |
1da177e4 LT |
18 | |
19 | struct poll { | |
20 | int fd; | |
21 | short events; | |
22 | short revents; | |
23 | }; | |
24 | ||
917c3660 | 25 | /* from helpers.S */ |
1da177e4 | 26 | EXPORT_SYMBOL(__flushw_user); |
917c3660 | 27 | EXPORT_SYMBOL_GPL(real_hard_smp_processor_id); |
1da177e4 | 28 | |
917c3660 SR |
29 | /* from head_64.S */ |
30 | EXPORT_SYMBOL(__ret_efault); | |
1da177e4 | 31 | EXPORT_SYMBOL(tlb_type); |
6c70b6fc | 32 | EXPORT_SYMBOL(sun4v_chip_type); |
917c3660 | 33 | EXPORT_SYMBOL(prom_root_node); |
1da177e4 | 34 | |
917c3660 | 35 | /* from hvcalls.S */ |
3178a07c DM |
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 | ||
ef7c4d46 DM |
41 | /* from hweight.S */ |
42 | EXPORT_SYMBOL(__arch_hweight8); | |
43 | EXPORT_SYMBOL(__arch_hweight16); | |
44 | EXPORT_SYMBOL(__arch_hweight32); | |
45 | EXPORT_SYMBOL(__arch_hweight64); | |
46 | ||
56d205cc DM |
47 | /* from ffs_ffz.S */ |
48 | EXPORT_SYMBOL(ffs); | |
49 | EXPORT_SYMBOL(__ffs); | |
50 | ||
917c3660 | 51 | /* Exporting a symbol from /init/main.c */ |
1da177e4 | 52 | EXPORT_SYMBOL(saved_command_line); |