crisksyms.c 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. #include <linux/module.h>
  2. #include <linux/user.h>
  3. #include <linux/elfcore.h>
  4. #include <linux/sched.h>
  5. #include <linux/in6.h>
  6. #include <linux/interrupt.h>
  7. #include <linux/pm.h>
  8. #include <linux/kernel.h>
  9. #include <linux/string.h>
  10. #include <linux/tty.h>
  11. #include <asm/processor.h>
  12. #include <asm/uaccess.h>
  13. #include <asm/checksum.h>
  14. #include <asm/io.h>
  15. #include <asm/delay.h>
  16. #include <asm/irq.h>
  17. #include <asm/pgtable.h>
  18. #include <asm/fasttimer.h>
  19. extern void __Udiv(void);
  20. extern void __Umod(void);
  21. extern void __Div(void);
  22. extern void __Mod(void);
  23. extern void __ashldi3(void);
  24. extern void __ashrdi3(void);
  25. extern void __lshrdi3(void);
  26. extern void __negdi2(void);
  27. extern void iounmap(volatile void * __iomem);
  28. /* Platform dependent support */
  29. EXPORT_SYMBOL(loops_per_usec);
  30. /* Math functions */
  31. EXPORT_SYMBOL(__Udiv);
  32. EXPORT_SYMBOL(__Umod);
  33. EXPORT_SYMBOL(__Div);
  34. EXPORT_SYMBOL(__Mod);
  35. EXPORT_SYMBOL(__ashldi3);
  36. EXPORT_SYMBOL(__ashrdi3);
  37. EXPORT_SYMBOL(__lshrdi3);
  38. EXPORT_SYMBOL(__negdi2);
  39. /* Memory functions */
  40. EXPORT_SYMBOL(__ioremap);
  41. EXPORT_SYMBOL(iounmap);
  42. #undef memcpy
  43. #undef memset
  44. extern void * memset(void *, int, __kernel_size_t);
  45. extern void * memcpy(void *, const void *, __kernel_size_t);
  46. EXPORT_SYMBOL(memcpy);
  47. EXPORT_SYMBOL(memset);
  48. #ifdef CONFIG_ETRAX_ARCH_V32
  49. #undef strcmp
  50. EXPORT_SYMBOL(strcmp);
  51. #endif
  52. #ifdef CONFIG_ETRAX_FAST_TIMER
  53. /* Fast timer functions */
  54. EXPORT_SYMBOL(fast_timer_list);
  55. EXPORT_SYMBOL(start_one_shot_timer);
  56. EXPORT_SYMBOL(del_fast_timer);
  57. EXPORT_SYMBOL(schedule_usleep);
  58. #endif
  59. EXPORT_SYMBOL(csum_partial);
  60. EXPORT_SYMBOL(csum_partial_copy_from_user);
  61. EXPORT_SYMBOL(csum_partial_copy_nocheck);