162306a36Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0-only 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * linux/arch/arm/mm/proc-syms.c 462306a36Sopenharmony_ci * 562306a36Sopenharmony_ci * Copyright (C) 2000-2002 Russell King 662306a36Sopenharmony_ci */ 762306a36Sopenharmony_ci#include <linux/module.h> 862306a36Sopenharmony_ci#include <linux/mm.h> 962306a36Sopenharmony_ci 1062306a36Sopenharmony_ci#include <asm/cacheflush.h> 1162306a36Sopenharmony_ci#include <asm/proc-fns.h> 1262306a36Sopenharmony_ci#include <asm/tlbflush.h> 1362306a36Sopenharmony_ci#include <asm/page.h> 1462306a36Sopenharmony_ci 1562306a36Sopenharmony_ci#ifndef MULTI_CPU 1662306a36Sopenharmony_ciEXPORT_SYMBOL(cpu_dcache_clean_area); 1762306a36Sopenharmony_ci#ifdef CONFIG_MMU 1862306a36Sopenharmony_ciEXPORT_SYMBOL(cpu_set_pte_ext); 1962306a36Sopenharmony_ci#endif 2062306a36Sopenharmony_ci#else 2162306a36Sopenharmony_ciEXPORT_SYMBOL(processor); 2262306a36Sopenharmony_ci#endif 2362306a36Sopenharmony_ci 2462306a36Sopenharmony_ci#ifndef MULTI_CACHE 2562306a36Sopenharmony_ciEXPORT_SYMBOL(__cpuc_flush_kern_all); 2662306a36Sopenharmony_ciEXPORT_SYMBOL(__cpuc_flush_user_all); 2762306a36Sopenharmony_ciEXPORT_SYMBOL(__cpuc_flush_user_range); 2862306a36Sopenharmony_ciEXPORT_SYMBOL(__cpuc_coherent_kern_range); 2962306a36Sopenharmony_ciEXPORT_SYMBOL(__cpuc_flush_dcache_area); 3062306a36Sopenharmony_ci#else 3162306a36Sopenharmony_ciEXPORT_SYMBOL(cpu_cache); 3262306a36Sopenharmony_ci#endif 3362306a36Sopenharmony_ci 3462306a36Sopenharmony_ci#ifdef CONFIG_MMU 3562306a36Sopenharmony_ci#ifndef MULTI_USER 3662306a36Sopenharmony_ciEXPORT_SYMBOL(__cpu_clear_user_highpage); 3762306a36Sopenharmony_ciEXPORT_SYMBOL(__cpu_copy_user_highpage); 3862306a36Sopenharmony_ci#else 3962306a36Sopenharmony_ciEXPORT_SYMBOL(cpu_user); 4062306a36Sopenharmony_ci#endif 4162306a36Sopenharmony_ci#endif 4262306a36Sopenharmony_ci 4362306a36Sopenharmony_ci/* 4462306a36Sopenharmony_ci * No module should need to touch the TLB (and currently 4562306a36Sopenharmony_ci * no modules do. We export this for "loadkernel" support 4662306a36Sopenharmony_ci * (booting a new kernel from within a running kernel.) 4762306a36Sopenharmony_ci */ 4862306a36Sopenharmony_ci#ifdef MULTI_TLB 4962306a36Sopenharmony_ciEXPORT_SYMBOL(cpu_tlb); 5062306a36Sopenharmony_ci#endif 51