Merge tag 'v5.15.57' into rpi-5.15.y
[platform/kernel/linux-rpi.git] / arch / arm / mm / proc-syms.c
1 // SPDX-License-Identifier: GPL-2.0-only
2 /*
3  *  linux/arch/arm/mm/proc-syms.c
4  *
5  *  Copyright (C) 2000-2002 Russell King
6  */
7 #include <linux/module.h>
8 #include <linux/mm.h>
9
10 #include <asm/cacheflush.h>
11 #include <asm/proc-fns.h>
12 #include <asm/tlbflush.h>
13 #include <asm/page.h>
14
15 #ifndef MULTI_CPU
16 EXPORT_SYMBOL(cpu_dcache_clean_area);
17 #ifdef CONFIG_MMU
18 EXPORT_SYMBOL(cpu_set_pte_ext);
19 #endif
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 EXPORT_SYMBOL(__cpuc_flush_dcache_area);
30 EXPORT_SYMBOL(dmac_inv_range);
31 EXPORT_SYMBOL(dmac_clean_range);
32 EXPORT_SYMBOL(dmac_flush_range);
33 #else
34 EXPORT_SYMBOL(cpu_cache);
35 #endif
36
37 #ifdef CONFIG_MMU
38 #ifndef MULTI_USER
39 EXPORT_SYMBOL(__cpu_clear_user_highpage);
40 EXPORT_SYMBOL(__cpu_copy_user_highpage);
41 #else
42 EXPORT_SYMBOL(cpu_user);
43 #endif
44 #endif
45
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