proc-syms.c 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. #else
  20. EXPORT_SYMBOL(processor);
  21. #endif
  22. #ifndef MULTI_CACHE
  23. EXPORT_SYMBOL(__cpuc_flush_kern_all);
  24. EXPORT_SYMBOL(__cpuc_flush_user_all);
  25. EXPORT_SYMBOL(__cpuc_flush_user_range);
  26. EXPORT_SYMBOL(__cpuc_coherent_kern_range);
  27. #else
  28. EXPORT_SYMBOL(cpu_cache);
  29. #endif
  30. #ifndef MULTI_USER
  31. EXPORT_SYMBOL(__cpu_clear_user_page);
  32. EXPORT_SYMBOL(__cpu_copy_user_page);
  33. #else
  34. EXPORT_SYMBOL(cpu_user);
  35. #endif
  36. /*
  37. * No module should need to touch the TLB (and currently
  38. * no modules do. We export this for "loadkernel" support
  39. * (booting a new kernel from within a running kernel.)
  40. */
  41. #ifdef MULTI_TLB
  42. EXPORT_SYMBOL(cpu_tlb);
  43. #endif