or32_ksyms.c 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /*
  2. * OpenRISC or32_ksyms.c
  3. *
  4. * Linux architectural port borrowing liberally from similar works of
  5. * others. All original copyrights apply as per the original source
  6. * declaration.
  7. *
  8. * Modifications for the OpenRISC architecture:
  9. * Copyright (C) 2003 Matjaz Breskvar <phoenix@bsemi.com>
  10. * Copyright (C) 2010-2011 Jonas Bonn <jonas@southpole.se>
  11. *
  12. * This program is free software; you can redistribute it and/or
  13. * modify it under the terms of the GNU General Public License
  14. * as published by the Free Software Foundation; either version
  15. * 2 of the License, or (at your option) any later version.
  16. */
  17. #include <linux/export.h>
  18. #include <linux/elfcore.h>
  19. #include <linux/sched.h>
  20. #include <linux/in6.h>
  21. #include <linux/interrupt.h>
  22. #include <linux/vmalloc.h>
  23. #include <linux/semaphore.h>
  24. #include <asm/processor.h>
  25. #include <linux/uaccess.h>
  26. #include <asm/checksum.h>
  27. #include <asm/io.h>
  28. #include <asm/hardirq.h>
  29. #include <asm/delay.h>
  30. #include <asm/pgalloc.h>
  31. #include <asm/pgtable.h>
  32. #define DECLARE_EXPORT(name) extern void name(void); EXPORT_SYMBOL(name)
  33. /* compiler generated symbols */
  34. DECLARE_EXPORT(__udivsi3);
  35. DECLARE_EXPORT(__divsi3);
  36. DECLARE_EXPORT(__umodsi3);
  37. DECLARE_EXPORT(__modsi3);
  38. DECLARE_EXPORT(__muldi3);
  39. DECLARE_EXPORT(__ashrdi3);
  40. DECLARE_EXPORT(__ashldi3);
  41. DECLARE_EXPORT(__lshrdi3);
  42. DECLARE_EXPORT(__ucmpdi2);
  43. EXPORT_SYMBOL(empty_zero_page);
  44. EXPORT_SYMBOL(__copy_tofrom_user);
  45. EXPORT_SYMBOL(__clear_user);
  46. EXPORT_SYMBOL(memset);