sparc_ksyms_64.c 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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(__ret_efault);
  26. EXPORT_SYMBOL(tlb_type);
  27. EXPORT_SYMBOL(sun4v_chip_type);
  28. EXPORT_SYMBOL(prom_root_node);
  29. /* from hvcalls.S */
  30. EXPORT_SYMBOL(sun4v_niagara_getperf);
  31. EXPORT_SYMBOL(sun4v_niagara_setperf);
  32. EXPORT_SYMBOL(sun4v_niagara2_getperf);
  33. EXPORT_SYMBOL(sun4v_niagara2_setperf);
  34. /* from hweight.S */
  35. EXPORT_SYMBOL(__arch_hweight8);
  36. EXPORT_SYMBOL(__arch_hweight16);
  37. EXPORT_SYMBOL(__arch_hweight32);
  38. EXPORT_SYMBOL(__arch_hweight64);
  39. /* from ffs_ffz.S */
  40. EXPORT_SYMBOL(ffs);
  41. EXPORT_SYMBOL(__ffs);
  42. /* Exporting a symbol from /init/main.c */
  43. EXPORT_SYMBOL(saved_command_line);