sparc_ksyms_64.c 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /* arch/sparc64/kernel/sparc64_ksyms.c: Sparc64 specific ksyms support.
  2. *
  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. */
  7. #include <linux/module.h>
  8. #include <linux/pci.h>
  9. #include <linux/init.h>
  10. #include <linux/bitops.h>
  11. #include <asm/system.h>
  12. #include <asm/cpudata.h>
  13. #include <asm/uaccess.h>
  14. #include <asm/spitfire.h>
  15. #include <asm/oplib.h>
  16. #include <asm/hypervisor.h>
  17. struct poll {
  18. int fd;
  19. short events;
  20. short revents;
  21. };
  22. /* from helpers.S */
  23. EXPORT_SYMBOL(__flushw_user);
  24. EXPORT_SYMBOL_GPL(real_hard_smp_processor_id);
  25. /* from head_64.S */
  26. EXPORT_SYMBOL(__ret_efault);
  27. EXPORT_SYMBOL(tlb_type);
  28. EXPORT_SYMBOL(sun4v_chip_type);
  29. EXPORT_SYMBOL(prom_root_node);
  30. /* from hvcalls.S */
  31. EXPORT_SYMBOL(sun4v_niagara_getperf);
  32. EXPORT_SYMBOL(sun4v_niagara_setperf);
  33. EXPORT_SYMBOL(sun4v_niagara2_getperf);
  34. EXPORT_SYMBOL(sun4v_niagara2_setperf);
  35. /* from hweight.S */
  36. EXPORT_SYMBOL(__arch_hweight8);
  37. EXPORT_SYMBOL(__arch_hweight16);
  38. EXPORT_SYMBOL(__arch_hweight32);
  39. EXPORT_SYMBOL(__arch_hweight64);
  40. /* from ffs_ffz.S */
  41. EXPORT_SYMBOL(ffs);
  42. EXPORT_SYMBOL(__ffs);
  43. /* Exporting a symbol from /init/main.c */
  44. EXPORT_SYMBOL(saved_command_line);