Loading...
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#include <asm/page.h>
17
18#ifndef MULTI_CPU
19EXPORT_SYMBOL(cpu_dcache_clean_area);
20EXPORT_SYMBOL(cpu_set_pte_ext);
21#else
22EXPORT_SYMBOL(processor);
23#endif
24
25#ifndef MULTI_CACHE
26EXPORT_SYMBOL(__cpuc_flush_kern_all);
27EXPORT_SYMBOL(__cpuc_flush_user_all);
28EXPORT_SYMBOL(__cpuc_flush_user_range);
29EXPORT_SYMBOL(__cpuc_coherent_kern_range);
30EXPORT_SYMBOL(__cpuc_flush_dcache_area);
31#else
32EXPORT_SYMBOL(cpu_cache);
33#endif
34
35#ifdef CONFIG_MMU
36#ifndef MULTI_USER
37EXPORT_SYMBOL(__cpu_clear_user_highpage);
38EXPORT_SYMBOL(__cpu_copy_user_highpage);
39#else
40EXPORT_SYMBOL(cpu_user);
41#endif
42#endif
43
44/*
45 * No module should need to touch the TLB (and currently
46 * no modules do. We export this for "loadkernel" support
47 * (booting a new kernel from within a running kernel.)
48 */
49#ifdef MULTI_TLB
50EXPORT_SYMBOL(cpu_tlb);
51#endif
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
16EXPORT_SYMBOL(cpu_dcache_clean_area);
17#ifdef CONFIG_MMU
18EXPORT_SYMBOL(cpu_set_pte_ext);
19#endif
20#else
21EXPORT_SYMBOL(processor);
22#endif
23
24#ifndef MULTI_CACHE
25EXPORT_SYMBOL(__cpuc_flush_kern_all);
26EXPORT_SYMBOL(__cpuc_flush_user_all);
27EXPORT_SYMBOL(__cpuc_flush_user_range);
28EXPORT_SYMBOL(__cpuc_coherent_kern_range);
29EXPORT_SYMBOL(__cpuc_flush_dcache_area);
30#else
31EXPORT_SYMBOL(cpu_cache);
32#endif
33
34#ifdef CONFIG_MMU
35#ifndef MULTI_USER
36EXPORT_SYMBOL(__cpu_clear_user_highpage);
37EXPORT_SYMBOL(__cpu_copy_user_highpage);
38#else
39EXPORT_SYMBOL(cpu_user);
40#endif
41#endif
42
43/*
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.)
47 */
48#ifdef MULTI_TLB
49EXPORT_SYMBOL(cpu_tlb);
50#endif