proc-syms.c 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /*
  3. * linux/arch/arm/mm/proc-syms.c
  4. *
  5. * Copyright (C) 2000-2002 Russell King
  6. */
  7. #include <linux/module.h>
  8. #include <linux/mm.h>
  9. #include <asm/cacheflush.h>
  10. #include <asm/proc-fns.h>
  11. #include <asm/tlbflush.h>
  12. #include <asm/page.h>
  13. #ifndef MULTI_CPU
  14. EXPORT_SYMBOL(cpu_dcache_clean_area);
  15. #ifdef CONFIG_MMU
  16. EXPORT_SYMBOL(cpu_set_pte_ext);
  17. #endif
  18. #else
  19. EXPORT_SYMBOL(processor);
  20. #endif
  21. #ifndef MULTI_CACHE
  22. EXPORT_SYMBOL(__cpuc_flush_kern_all);
  23. EXPORT_SYMBOL(__cpuc_flush_user_all);
  24. EXPORT_SYMBOL(__cpuc_flush_user_range);
  25. EXPORT_SYMBOL(__cpuc_coherent_kern_range);
  26. EXPORT_SYMBOL(__cpuc_flush_dcache_area);
  27. #else
  28. EXPORT_SYMBOL(cpu_cache);
  29. #endif
  30. #ifdef CONFIG_MMU
  31. #ifndef MULTI_USER
  32. EXPORT_SYMBOL(__cpu_clear_user_highpage);
  33. EXPORT_SYMBOL(__cpu_copy_user_highpage);
  34. #else
  35. EXPORT_SYMBOL(cpu_user);
  36. #endif
  37. #endif
  38. /*
  39. * No module should need to touch the TLB (and currently
  40. * no modules do. We export this for "loadkernel" support
  41. * (booting a new kernel from within a running kernel.)
  42. */
  43. #ifdef MULTI_TLB
  44. EXPORT_SYMBOL(cpu_tlb);
  45. #endif