Commit | Line | Data |
---|---|---|
1da177e4 LT |
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> | |
7b1df198 | 16 | #include <asm/page.h> |
1da177e4 LT |
17 | |
18 | #ifndef MULTI_CPU | |
19 | EXPORT_SYMBOL(cpu_dcache_clean_area); | |
d455bac2 | 20 | #ifdef CONFIG_MMU |
ad1ae2fe | 21 | EXPORT_SYMBOL(cpu_set_pte_ext); |
d455bac2 | 22 | #endif |
1da177e4 LT |
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); | |
2c9b9c84 | 32 | EXPORT_SYMBOL(__cpuc_flush_dcache_area); |
1da177e4 LT |
33 | #else |
34 | EXPORT_SYMBOL(cpu_cache); | |
35 | #endif | |
36 | ||
2a0cc688 | 37 | #ifdef CONFIG_MMU |
7b1df198 | 38 | #ifndef MULTI_USER |
303c6443 | 39 | EXPORT_SYMBOL(__cpu_clear_user_highpage); |
063b0a42 | 40 | EXPORT_SYMBOL(__cpu_copy_user_highpage); |
7b1df198 GD |
41 | #else |
42 | EXPORT_SYMBOL(cpu_user); | |
43 | #endif | |
2a0cc688 | 44 | #endif |
7b1df198 | 45 | |
1da177e4 LT |
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 |