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