Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-only
0002 /*
0003  *  linux/arch/arm/mm/proc-syms.c
0004  *
0005  *  Copyright (C) 2000-2002 Russell King
0006  */
0007 #include <linux/module.h>
0008 #include <linux/mm.h>
0009 
0010 #include <asm/cacheflush.h>
0011 #include <asm/proc-fns.h>
0012 #include <asm/tlbflush.h>
0013 #include <asm/page.h>
0014 
0015 #ifndef MULTI_CPU
0016 EXPORT_SYMBOL(cpu_dcache_clean_area);
0017 #ifdef CONFIG_MMU
0018 EXPORT_SYMBOL(cpu_set_pte_ext);
0019 #endif
0020 #else
0021 EXPORT_SYMBOL(processor);
0022 #endif
0023 
0024 #ifndef MULTI_CACHE
0025 EXPORT_SYMBOL(__cpuc_flush_kern_all);
0026 EXPORT_SYMBOL(__cpuc_flush_user_all);
0027 EXPORT_SYMBOL(__cpuc_flush_user_range);
0028 EXPORT_SYMBOL(__cpuc_coherent_kern_range);
0029 EXPORT_SYMBOL(__cpuc_flush_dcache_area);
0030 #else
0031 EXPORT_SYMBOL(cpu_cache);
0032 #endif
0033 
0034 #ifdef CONFIG_MMU
0035 #ifndef MULTI_USER
0036 EXPORT_SYMBOL(__cpu_clear_user_highpage);
0037 EXPORT_SYMBOL(__cpu_copy_user_highpage);
0038 #else
0039 EXPORT_SYMBOL(cpu_user);
0040 #endif
0041 #endif
0042 
0043 /*
0044  * No module should need to touch the TLB (and currently
0045  * no modules do.  We export this for "loadkernel" support
0046  * (booting a new kernel from within a running kernel.)
0047  */
0048 #ifdef MULTI_TLB
0049 EXPORT_SYMBOL(cpu_tlb);
0050 #endif