sparc_ksyms_32.c 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /*
  2. * arch/sparc/kernel/ksyms.c: Sparc specific ksyms support.
  3. *
  4. * Copyright (C) 1996 David S. Miller (davem@caip.rutgers.edu)
  5. * Copyright (C) 1996 Eddie C. Dost (ecd@skynet.be)
  6. */
  7. #include <linux/module.h>
  8. #include <linux/init.h>
  9. #include <asm/pgtable.h>
  10. #include <asm/uaccess.h>
  11. #include <asm/delay.h>
  12. #include <asm/head.h>
  13. #include <asm/dma.h>
  14. struct poll {
  15. int fd;
  16. short events;
  17. short revents;
  18. };
  19. /* from entry.S */
  20. EXPORT_SYMBOL(__udelay);
  21. EXPORT_SYMBOL(__ndelay);
  22. /* from head_32.S */
  23. EXPORT_SYMBOL(__ret_efault);
  24. EXPORT_SYMBOL(empty_zero_page);
  25. /* Defined using magic */
  26. #ifndef CONFIG_SMP
  27. EXPORT_SYMBOL(BTFIXUP_CALL(___xchg32));
  28. #else
  29. EXPORT_SYMBOL(BTFIXUP_CALL(__hard_smp_processor_id));
  30. #endif
  31. EXPORT_SYMBOL(BTFIXUP_CALL(mmu_unlockarea));
  32. EXPORT_SYMBOL(BTFIXUP_CALL(mmu_lockarea));
  33. EXPORT_SYMBOL(BTFIXUP_CALL(mmu_get_scsi_sgl));
  34. EXPORT_SYMBOL(BTFIXUP_CALL(mmu_get_scsi_one));
  35. EXPORT_SYMBOL(BTFIXUP_CALL(mmu_release_scsi_sgl));
  36. EXPORT_SYMBOL(BTFIXUP_CALL(mmu_release_scsi_one));
  37. EXPORT_SYMBOL(BTFIXUP_CALL(pgprot_noncached));
  38. /* Exporting a symbol from /init/main.c */
  39. EXPORT_SYMBOL(saved_command_line);