or32_ksyms.c 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. // SPDX-License-Identifier: GPL-2.0-or-later
  2. /*
  3. * OpenRISC or32_ksyms.c
  4. *
  5. * Linux architectural port borrowing liberally from similar works of
  6. * others. All original copyrights apply as per the original source
  7. * declaration.
  8. *
  9. * Modifications for the OpenRISC architecture:
  10. * Copyright (C) 2003 Matjaz Breskvar <[email protected]>
  11. * Copyright (C) 2010-2011 Jonas Bonn <[email protected]>
  12. */
  13. #include <linux/export.h>
  14. #include <linux/elfcore.h>
  15. #include <linux/sched.h>
  16. #include <linux/in6.h>
  17. #include <linux/interrupt.h>
  18. #include <linux/vmalloc.h>
  19. #include <linux/semaphore.h>
  20. #include <linux/pgtable.h>
  21. #include <asm/processor.h>
  22. #include <linux/uaccess.h>
  23. #include <asm/checksum.h>
  24. #include <asm/io.h>
  25. #include <asm/hardirq.h>
  26. #include <asm/delay.h>
  27. #define DECLARE_EXPORT(name) extern void name(void); EXPORT_SYMBOL(name)
  28. /* compiler generated symbols */
  29. DECLARE_EXPORT(__udivsi3);
  30. DECLARE_EXPORT(__divsi3);
  31. DECLARE_EXPORT(__umodsi3);
  32. DECLARE_EXPORT(__modsi3);
  33. DECLARE_EXPORT(__muldi3);
  34. DECLARE_EXPORT(__ashrdi3);
  35. DECLARE_EXPORT(__ashldi3);
  36. DECLARE_EXPORT(__lshrdi3);
  37. DECLARE_EXPORT(__ucmpdi2);
  38. EXPORT_SYMBOL(empty_zero_page);
  39. EXPORT_SYMBOL(__copy_tofrom_user);
  40. EXPORT_SYMBOL(__clear_user);
  41. EXPORT_SYMBOL(memset);