sparc: Use popc when possible for ffs/__ffs/ffz.
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / arch / sparc / kernel / sparc_ksyms_64.c
blob83b47ab02d9611f0789c5b6eb8c13f39c8ce078e
1 /* arch/sparc64/kernel/sparc64_ksyms.c: Sparc64 specific ksyms support.
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 */
8 #include <linux/module.h>
9 #include <linux/pci.h>
10 #include <linux/init.h>
11 #include <linux/bitops.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>
20 struct poll {
21 int fd;
22 short events;
23 short revents;
26 /* from helpers.S */
27 EXPORT_SYMBOL(__flushw_user);
28 EXPORT_SYMBOL_GPL(real_hard_smp_processor_id);
30 /* from head_64.S */
31 EXPORT_SYMBOL(__ret_efault);
32 EXPORT_SYMBOL(tlb_type);
33 EXPORT_SYMBOL(sun4v_chip_type);
34 EXPORT_SYMBOL(prom_root_node);
36 /* from hvcalls.S */
37 EXPORT_SYMBOL(sun4v_niagara_getperf);
38 EXPORT_SYMBOL(sun4v_niagara_setperf);
39 EXPORT_SYMBOL(sun4v_niagara2_getperf);
40 EXPORT_SYMBOL(sun4v_niagara2_setperf);
42 /* from hweight.S */
43 EXPORT_SYMBOL(__arch_hweight8);
44 EXPORT_SYMBOL(__arch_hweight16);
45 EXPORT_SYMBOL(__arch_hweight32);
46 EXPORT_SYMBOL(__arch_hweight64);
48 /* from ffs_ffz.S */
49 EXPORT_SYMBOL(ffs);
50 EXPORT_SYMBOL(__ffs);
52 /* Exporting a symbol from /init/main.c */
53 EXPORT_SYMBOL(saved_command_line);