Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6/kmemtrace.git] / arch / arm / mm / proc-syms.c
blob2b5ba396e3a63ee455e6b73bfff9176c78aef029
1 /*
2 * linux/arch/arm/mm/proc-syms.c
4 * Copyright (C) 2000-2002 Russell King
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>
13 #include <asm/cacheflush.h>
14 #include <asm/proc-fns.h>
15 #include <asm/tlbflush.h>
16 #include <asm/page.h>
18 #ifndef MULTI_CPU
19 EXPORT_SYMBOL(cpu_dcache_clean_area);
20 EXPORT_SYMBOL(cpu_set_pte_ext);
21 #else
22 EXPORT_SYMBOL(processor);
23 #endif
25 #ifndef MULTI_CACHE
26 EXPORT_SYMBOL(__cpuc_flush_kern_all);
27 EXPORT_SYMBOL(__cpuc_flush_user_all);
28 EXPORT_SYMBOL(__cpuc_flush_user_range);
29 EXPORT_SYMBOL(__cpuc_coherent_kern_range);
30 #else
31 EXPORT_SYMBOL(cpu_cache);
32 #endif
34 #ifdef CONFIG_MMU
35 #ifndef MULTI_USER
36 EXPORT_SYMBOL(__cpu_clear_user_page);
37 EXPORT_SYMBOL(__cpu_copy_user_page);
38 #else
39 EXPORT_SYMBOL(cpu_user);
40 #endif
41 #endif
44 * No module should need to touch the TLB (and currently
45 * no modules do. We export this for "loadkernel" support
46 * (booting a new kernel from within a running kernel.)
48 #ifdef MULTI_TLB
49 EXPORT_SYMBOL(cpu_tlb);
50 #endif