or32_ksyms.c 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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/module.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 <asm/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. #define DECLARE_EXPORT(name) extern void name(void); EXPORT_SYMBOL(name)
  32. /* compiler generated symbols */
  33. DECLARE_EXPORT(__udivsi3);
  34. DECLARE_EXPORT(__divsi3);
  35. DECLARE_EXPORT(__umodsi3);
  36. DECLARE_EXPORT(__modsi3);
  37. DECLARE_EXPORT(__muldi3);
  38. DECLARE_EXPORT(__ashrdi3);
  39. DECLARE_EXPORT(__ashldi3);
  40. DECLARE_EXPORT(__lshrdi3);
  41. EXPORT_SYMBOL(__copy_tofrom_user);