proc-syms.c 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /*
  2. * linux/arch/arm/mm/proc-syms.c
  3. *
  4. * Copyright (C) 2000-2002 Russell King
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License version 2 as
  8. * published by the Free Software Foundation.
  9. */
  10. #include <linux/module.h>
  11. #include <linux/mm.h>
  12. #include <asm/cacheflush.h>
  13. #include <asm/proc-fns.h>
  14. #include <asm/tlbflush.h>
  15. #include <asm/page.h>
  16. #ifndef MULTI_CPU
  17. EXPORT_SYMBOL(cpu_dcache_clean_area);
  18. EXPORT_SYMBOL(cpu_set_pte_ext);
  19. #ifdef CONFIG_TIMA_RKP_L2_TABLES
  20. EXPORT_SYMBOL(cpu_tima_set_pte_ext);
  21. #endif
  22. #else
  23. EXPORT_SYMBOL(processor);
  24. #endif
  25. #ifndef MULTI_CACHE
  26. EXPORT_SYMBOL(__cpuc_flush_kern_all);
  27. EXPORT_SYMBOL(__cpuc_flush_user_all);
  28. EXPORT_SYMBOL(__cpuc_flush_user_range);
  29. EXPORT_SYMBOL(__cpuc_coherent_kern_range);
  30. EXPORT_SYMBOL(__cpuc_flush_dcache_area);
  31. #else
  32. EXPORT_SYMBOL(cpu_cache);
  33. #endif
  34. #ifdef CONFIG_MMU
  35. #ifndef MULTI_USER
  36. EXPORT_SYMBOL(__cpu_clear_user_highpage);
  37. EXPORT_SYMBOL(__cpu_copy_user_highpage);
  38. #else
  39. EXPORT_SYMBOL(cpu_user);
  40. #endif
  41. #endif
  42. /*
  43. * No module should need to touch the TLB (and currently
  44. * no modules do. We export this for "loadkernel" support
  45. * (booting a new kernel from within a running kernel.)
  46. */
  47. #ifdef MULTI_TLB
  48. EXPORT_SYMBOL(cpu_tlb);
  49. #endif