microblaze_ksyms.c 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. /*
  2. * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu>
  3. * Copyright (C) 2008-2009 PetaLogix
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License version 2 as
  7. * published by the Free Software Foundation.
  8. */
  9. #include <linux/module.h>
  10. #include <linux/string.h>
  11. #include <linux/cryptohash.h>
  12. #include <linux/delay.h>
  13. #include <linux/in6.h>
  14. #include <linux/syscalls.h>
  15. #include <asm/checksum.h>
  16. #include <asm/cacheflush.h>
  17. #include <linux/io.h>
  18. #include <asm/page.h>
  19. #include <linux/ftrace.h>
  20. #include <linux/uaccess.h>
  21. extern char *_ebss;
  22. EXPORT_SYMBOL_GPL(_ebss);
  23. #ifdef CONFIG_FUNCTION_TRACER
  24. extern void _mcount(void);
  25. EXPORT_SYMBOL(_mcount);
  26. #endif
  27. /*
  28. * Assembly functions that may be used (directly or indirectly) by modules
  29. */
  30. EXPORT_SYMBOL(__copy_tofrom_user);
  31. EXPORT_SYMBOL(__strncpy_user);
  32. #ifdef CONFIG_OPT_LIB_ASM
  33. EXPORT_SYMBOL(memcpy);
  34. EXPORT_SYMBOL(memmove);
  35. #endif
  36. #ifdef CONFIG_MMU
  37. EXPORT_SYMBOL(empty_zero_page);
  38. #endif
  39. EXPORT_SYMBOL(mbc);
  40. extern void __divsi3(void);
  41. EXPORT_SYMBOL(__divsi3);
  42. extern void __modsi3(void);
  43. EXPORT_SYMBOL(__modsi3);
  44. extern void __mulsi3(void);
  45. EXPORT_SYMBOL(__mulsi3);
  46. extern void __udivsi3(void);
  47. EXPORT_SYMBOL(__udivsi3);
  48. extern void __umodsi3(void);
  49. EXPORT_SYMBOL(__umodsi3);