18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0-only 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * linux/arch/arm/mm/proc-syms.c 48c2ecf20Sopenharmony_ci * 58c2ecf20Sopenharmony_ci * Copyright (C) 2000-2002 Russell King 68c2ecf20Sopenharmony_ci */ 78c2ecf20Sopenharmony_ci#include <linux/module.h> 88c2ecf20Sopenharmony_ci#include <linux/mm.h> 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ci#include <asm/cacheflush.h> 118c2ecf20Sopenharmony_ci#include <asm/proc-fns.h> 128c2ecf20Sopenharmony_ci#include <asm/tlbflush.h> 138c2ecf20Sopenharmony_ci#include <asm/page.h> 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ci#ifndef MULTI_CPU 168c2ecf20Sopenharmony_ciEXPORT_SYMBOL(cpu_dcache_clean_area); 178c2ecf20Sopenharmony_ci#ifdef CONFIG_MMU 188c2ecf20Sopenharmony_ciEXPORT_SYMBOL(cpu_set_pte_ext); 198c2ecf20Sopenharmony_ci#endif 208c2ecf20Sopenharmony_ci#else 218c2ecf20Sopenharmony_ciEXPORT_SYMBOL(processor); 228c2ecf20Sopenharmony_ci#endif 238c2ecf20Sopenharmony_ci 248c2ecf20Sopenharmony_ci#ifndef MULTI_CACHE 258c2ecf20Sopenharmony_ciEXPORT_SYMBOL(__cpuc_flush_kern_all); 268c2ecf20Sopenharmony_ciEXPORT_SYMBOL(__cpuc_flush_user_all); 278c2ecf20Sopenharmony_ciEXPORT_SYMBOL(__cpuc_flush_user_range); 288c2ecf20Sopenharmony_ciEXPORT_SYMBOL(__cpuc_coherent_kern_range); 298c2ecf20Sopenharmony_ciEXPORT_SYMBOL(__cpuc_flush_dcache_area); 308c2ecf20Sopenharmony_ci#else 318c2ecf20Sopenharmony_ciEXPORT_SYMBOL(cpu_cache); 328c2ecf20Sopenharmony_ci#endif 338c2ecf20Sopenharmony_ci 348c2ecf20Sopenharmony_ci#ifdef CONFIG_MMU 358c2ecf20Sopenharmony_ci#ifndef MULTI_USER 368c2ecf20Sopenharmony_ciEXPORT_SYMBOL(__cpu_clear_user_highpage); 378c2ecf20Sopenharmony_ciEXPORT_SYMBOL(__cpu_copy_user_highpage); 388c2ecf20Sopenharmony_ci#else 398c2ecf20Sopenharmony_ciEXPORT_SYMBOL(cpu_user); 408c2ecf20Sopenharmony_ci#endif 418c2ecf20Sopenharmony_ci#endif 428c2ecf20Sopenharmony_ci 438c2ecf20Sopenharmony_ci/* 448c2ecf20Sopenharmony_ci * No module should need to touch the TLB (and currently 458c2ecf20Sopenharmony_ci * no modules do. We export this for "loadkernel" support 468c2ecf20Sopenharmony_ci * (booting a new kernel from within a running kernel.) 478c2ecf20Sopenharmony_ci */ 488c2ecf20Sopenharmony_ci#ifdef MULTI_TLB 498c2ecf20Sopenharmony_ciEXPORT_SYMBOL(cpu_tlb); 508c2ecf20Sopenharmony_ci#endif 51