blob: 9e034f29dcc52208ca98a648e028f955f7c8f882 [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
Paul Gortmaker066bcac2011-07-22 13:18:16 -04008#include <linux/export.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -07009#include <linux/pci.h>
David S. Milleref7c4d42011-07-29 09:42:07 -070010#include <linux/bitops.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070011
Linus Torvalds1da177e2005-04-16 15:20:36 -070012#include <asm/cpudata.h>
Sam Ravnborg917c3662009-01-08 16:58:20 -080013#include <asm/uaccess.h>
14#include <asm/spitfire.h>
15#include <asm/oplib.h>
David S. Miller3178a072008-11-28 02:26:55 -080016#include <asm/hypervisor.h>
David Howellsd550bbd2012-03-28 18:30:03 +010017#include <asm/cacheflush.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);
wim.coekaerts@oracle.comca0bb072016-01-29 09:39:38 -080040EXPORT_SYMBOL(sun4v_mach_set_watchdog);
David S. Miller3178a072008-11-28 02:26:55 -080041
David S. Milleref7c4d42011-07-29 09:42:07 -070042/* from hweight.S */
43EXPORT_SYMBOL(__arch_hweight8);
44EXPORT_SYMBOL(__arch_hweight16);
45EXPORT_SYMBOL(__arch_hweight32);
46EXPORT_SYMBOL(__arch_hweight64);
47
David S. Miller56d205c2011-08-02 20:23:34 -070048/* from ffs_ffz.S */
49EXPORT_SYMBOL(ffs);
50EXPORT_SYMBOL(__ffs);
51
Sam Ravnborg917c3662009-01-08 16:58:20 -080052/* Exporting a symbol from /init/main.c */
Linus Torvalds1da177e2005-04-16 15:20:36 -070053EXPORT_SYMBOL(saved_command_line);