x8664_ksyms.c 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. /* Exports for assembly files.
  2. All C exports should go in the respective C files. */
  3. #include <linux/module.h>
  4. #include <linux/smp.h>
  5. #include <asm/semaphore.h>
  6. #include <asm/processor.h>
  7. #include <asm/uaccess.h>
  8. #include <asm/pgtable.h>
  9. EXPORT_SYMBOL(kernel_thread);
  10. EXPORT_SYMBOL(__down_failed);
  11. EXPORT_SYMBOL(__down_failed_interruptible);
  12. EXPORT_SYMBOL(__down_failed_trylock);
  13. EXPORT_SYMBOL(__up_wakeup);
  14. EXPORT_SYMBOL(__get_user_1);
  15. EXPORT_SYMBOL(__get_user_2);
  16. EXPORT_SYMBOL(__get_user_4);
  17. EXPORT_SYMBOL(__get_user_8);
  18. EXPORT_SYMBOL(__put_user_1);
  19. EXPORT_SYMBOL(__put_user_2);
  20. EXPORT_SYMBOL(__put_user_4);
  21. EXPORT_SYMBOL(__put_user_8);
  22. EXPORT_SYMBOL(copy_user_generic);
  23. EXPORT_SYMBOL(copy_from_user);
  24. EXPORT_SYMBOL(copy_to_user);
  25. EXPORT_SYMBOL(__copy_from_user_inatomic);
  26. EXPORT_SYMBOL(copy_page);
  27. EXPORT_SYMBOL(clear_page);
  28. #ifdef CONFIG_SMP
  29. extern void FASTCALL( __write_lock_failed(rwlock_t *rw));
  30. extern void FASTCALL( __read_lock_failed(rwlock_t *rw));
  31. EXPORT_SYMBOL(__write_lock_failed);
  32. EXPORT_SYMBOL(__read_lock_failed);
  33. #endif
  34. /* Export string functions. We normally rely on gcc builtin for most of these,
  35. but gcc sometimes decides not to inline them. */
  36. #undef memcpy
  37. #undef memset
  38. #undef memmove
  39. extern void * memset(void *,int,__kernel_size_t);
  40. extern void * memcpy(void *,const void *,__kernel_size_t);
  41. extern void * __memcpy(void *,const void *,__kernel_size_t);
  42. EXPORT_SYMBOL(memset);
  43. EXPORT_SYMBOL(memcpy);
  44. EXPORT_SYMBOL(__memcpy);
  45. EXPORT_SYMBOL(empty_zero_page);
  46. EXPORT_SYMBOL(init_level4_pgt);
  47. EXPORT_SYMBOL(load_gs_index);