2007-07-14 13:23:37 +04:00
/* arch/sparc64/kernel/sparc64_ksyms.c: Sparc64 specific ksyms support.
2005-04-17 02:20:36 +04:00
*
2007-07-14 13:23:37 +04:00
* Copyright ( C ) 1996 , 2007 David S . Miller ( davem @ davemloft . net )
2005-04-17 02:20:36 +04:00
* Copyright ( C ) 1996 Eddie C . Dost ( ecd @ skynet . be )
* Copyright ( C ) 1999 Jakub Jelinek ( jj @ ultra . linux . cz )
*/
2011-07-22 21:18:16 +04:00
# include <linux/export.h>
2005-04-17 02:20:36 +04:00
# include <linux/pci.h>
# include <linux/init.h>
2011-07-29 20:42:07 +04:00
# include <linux/bitops.h>
2005-04-17 02:20:36 +04:00
# include <asm/cpudata.h>
2009-01-09 03:58:20 +03:00
# include <asm/uaccess.h>
# include <asm/spitfire.h>
# include <asm/oplib.h>
2008-11-28 13:26:55 +03:00
# include <asm/hypervisor.h>
2012-03-28 21:30:03 +04:00
# include <asm/cacheflush.h>
2005-04-17 02:20:36 +04:00
struct poll {
int fd ;
short events ;
short revents ;
} ;
2009-01-09 03:58:20 +03:00
/* from helpers.S */
2005-04-17 02:20:36 +04:00
EXPORT_SYMBOL ( __flushw_user ) ;
2009-01-09 03:58:20 +03:00
EXPORT_SYMBOL_GPL ( real_hard_smp_processor_id ) ;
2005-04-17 02:20:36 +04:00
2009-01-09 03:58:20 +03:00
/* from head_64.S */
EXPORT_SYMBOL ( __ret_efault ) ;
2005-04-17 02:20:36 +04:00
EXPORT_SYMBOL ( tlb_type ) ;
2007-08-09 04:11:39 +04:00
EXPORT_SYMBOL ( sun4v_chip_type ) ;
2009-01-09 03:58:20 +03:00
EXPORT_SYMBOL ( prom_root_node ) ;
2005-04-17 02:20:36 +04:00
2009-01-09 03:58:20 +03:00
/* from hvcalls.S */
2008-11-28 13:26:55 +03:00
EXPORT_SYMBOL ( sun4v_niagara_getperf ) ;
EXPORT_SYMBOL ( sun4v_niagara_setperf ) ;
EXPORT_SYMBOL ( sun4v_niagara2_getperf ) ;
EXPORT_SYMBOL ( sun4v_niagara2_setperf ) ;
2011-07-29 20:42:07 +04:00
/* from hweight.S */
EXPORT_SYMBOL ( __arch_hweight8 ) ;
EXPORT_SYMBOL ( __arch_hweight16 ) ;
EXPORT_SYMBOL ( __arch_hweight32 ) ;
EXPORT_SYMBOL ( __arch_hweight64 ) ;
2011-08-03 07:23:34 +04:00
/* from ffs_ffz.S */
EXPORT_SYMBOL ( ffs ) ;
EXPORT_SYMBOL ( __ffs ) ;
2009-01-09 03:58:20 +03:00
/* Exporting a symbol from /init/main.c */
2005-04-17 02:20:36 +04:00
EXPORT_SYMBOL ( saved_command_line ) ;