Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 | |
| 13 | #include <asm/cacheflush.h> |
| 14 | #include <asm/proc-fns.h> |
| 15 | #include <asm/tlbflush.h> |
George G. Davis | 7b1df19 | 2006-07-29 08:29:27 +0100 | [diff] [blame] | 16 | #include <asm/page.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 17 | |
| 18 | #ifndef MULTI_CPU |
| 19 | EXPORT_SYMBOL(cpu_dcache_clean_area); |
Will Deacon | d455bac | 2013-01-22 11:00:54 +0000 | [diff] [blame] | 20 | #ifdef CONFIG_MMU |
Russell King | ad1ae2f | 2006-12-13 14:34:43 +0000 | [diff] [blame] | 21 | EXPORT_SYMBOL(cpu_set_pte_ext); |
Will Deacon | d455bac | 2013-01-22 11:00:54 +0000 | [diff] [blame] | 22 | #endif |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 23 | #else |
| 24 | EXPORT_SYMBOL(processor); |
| 25 | #endif |
| 26 | |
| 27 | #ifndef MULTI_CACHE |
| 28 | EXPORT_SYMBOL(__cpuc_flush_kern_all); |
| 29 | EXPORT_SYMBOL(__cpuc_flush_user_all); |
| 30 | EXPORT_SYMBOL(__cpuc_flush_user_range); |
| 31 | EXPORT_SYMBOL(__cpuc_coherent_kern_range); |
Russell King | 2c9b9c8 | 2009-11-26 12:56:21 +0000 | [diff] [blame] | 32 | EXPORT_SYMBOL(__cpuc_flush_dcache_area); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 33 | #else |
| 34 | EXPORT_SYMBOL(cpu_cache); |
| 35 | #endif |
| 36 | |
Catalin Marinas | 2a0cc68 | 2007-07-20 11:42:46 +0100 | [diff] [blame] | 37 | #ifdef CONFIG_MMU |
George G. Davis | 7b1df19 | 2006-07-29 08:29:27 +0100 | [diff] [blame] | 38 | #ifndef MULTI_USER |
Russell King | 303c644 | 2008-10-31 16:32:19 +0000 | [diff] [blame] | 39 | EXPORT_SYMBOL(__cpu_clear_user_highpage); |
Russell King | 063b0a4 | 2008-10-31 15:08:35 +0000 | [diff] [blame] | 40 | EXPORT_SYMBOL(__cpu_copy_user_highpage); |
George G. Davis | 7b1df19 | 2006-07-29 08:29:27 +0100 | [diff] [blame] | 41 | #else |
| 42 | EXPORT_SYMBOL(cpu_user); |
| 43 | #endif |
Catalin Marinas | 2a0cc68 | 2007-07-20 11:42:46 +0100 | [diff] [blame] | 44 | #endif |
George G. Davis | 7b1df19 | 2006-07-29 08:29:27 +0100 | [diff] [blame] | 45 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 46 | /* |
| 47 | * No module should need to touch the TLB (and currently |
| 48 | * no modules do. We export this for "loadkernel" support |
| 49 | * (booting a new kernel from within a running kernel.) |
| 50 | */ |
| 51 | #ifdef MULTI_TLB |
| 52 | EXPORT_SYMBOL(cpu_tlb); |
| 53 | #endif |