sparc_ksyms_64.c 1.2 KB

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