proc-syms.c 975 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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. #ifndef MULTI_CPU
  16. EXPORT_SYMBOL(cpu_dcache_clean_area);
  17. EXPORT_SYMBOL(cpu_set_pte);
  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. #else
  27. EXPORT_SYMBOL(cpu_cache);
  28. #endif
  29. /*
  30. * No module should need to touch the TLB (and currently
  31. * no modules do. We export this for "loadkernel" support
  32. * (booting a new kernel from within a running kernel.)
  33. */
  34. #ifdef MULTI_TLB
  35. EXPORT_SYMBOL(cpu_tlb);
  36. #endif