x8664_ksyms_64.c 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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_user_nocache);
  24. EXPORT_SYMBOL(copy_from_user);
  25. EXPORT_SYMBOL(copy_to_user);
  26. EXPORT_SYMBOL(__copy_from_user_inatomic);
  27. EXPORT_SYMBOL(copy_page);
  28. EXPORT_SYMBOL(clear_page);
  29. #ifdef CONFIG_SMP
  30. extern void __write_lock_failed(rwlock_t *rw);
  31. extern void __read_lock_failed(rwlock_t *rw);
  32. EXPORT_SYMBOL(__write_lock_failed);
  33. EXPORT_SYMBOL(__read_lock_failed);
  34. #endif
  35. /* Export string functions. We normally rely on gcc builtin for most of these,
  36. but gcc sometimes decides not to inline them. */
  37. #undef memcpy
  38. #undef memset
  39. #undef memmove
  40. extern void * memset(void *,int,__kernel_size_t);
  41. extern void * memcpy(void *,const void *,__kernel_size_t);
  42. extern void * __memcpy(void *,const void *,__kernel_size_t);
  43. EXPORT_SYMBOL(memset);
  44. EXPORT_SYMBOL(memcpy);
  45. EXPORT_SYMBOL(__memcpy);
  46. EXPORT_SYMBOL(empty_zero_page);
  47. EXPORT_SYMBOL(init_level4_pgt);
  48. EXPORT_SYMBOL(load_gs_index);
  49. EXPORT_SYMBOL(_proxy_pda);