2019-06-04 16:11:33 +08:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-only
|
2005-04-17 06:20:36 +08:00
|
|
|
/*
|
|
|
|
* linux/arch/arm/mm/proc-syms.c
|
|
|
|
*
|
|
|
|
* Copyright (C) 2000-2002 Russell King
|
|
|
|
*/
|
|
|
|
#include <linux/module.h>
|
|
|
|
#include <linux/mm.h>
|
|
|
|
|
|
|
|
#include <asm/cacheflush.h>
|
|
|
|
#include <asm/proc-fns.h>
|
|
|
|
#include <asm/tlbflush.h>
|
2006-07-29 15:29:27 +08:00
|
|
|
#include <asm/page.h>
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
#ifndef MULTI_CPU
|
|
|
|
EXPORT_SYMBOL(cpu_dcache_clean_area);
|
2013-01-22 19:00:54 +08:00
|
|
|
#ifdef CONFIG_MMU
|
2006-12-13 22:34:43 +08:00
|
|
|
EXPORT_SYMBOL(cpu_set_pte_ext);
|
2013-01-22 19:00:54 +08:00
|
|
|
#endif
|
2005-04-17 06:20:36 +08:00
|
|
|
#else
|
|
|
|
EXPORT_SYMBOL(processor);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef MULTI_CACHE
|
|
|
|
EXPORT_SYMBOL(__cpuc_flush_kern_all);
|
|
|
|
EXPORT_SYMBOL(__cpuc_flush_user_all);
|
|
|
|
EXPORT_SYMBOL(__cpuc_flush_user_range);
|
|
|
|
EXPORT_SYMBOL(__cpuc_coherent_kern_range);
|
2009-11-26 20:56:21 +08:00
|
|
|
EXPORT_SYMBOL(__cpuc_flush_dcache_area);
|
2005-04-17 06:20:36 +08:00
|
|
|
#else
|
|
|
|
EXPORT_SYMBOL(cpu_cache);
|
|
|
|
#endif
|
|
|
|
|
2007-07-20 18:42:46 +08:00
|
|
|
#ifdef CONFIG_MMU
|
2006-07-29 15:29:27 +08:00
|
|
|
#ifndef MULTI_USER
|
2008-11-01 00:32:19 +08:00
|
|
|
EXPORT_SYMBOL(__cpu_clear_user_highpage);
|
2008-10-31 23:08:35 +08:00
|
|
|
EXPORT_SYMBOL(__cpu_copy_user_highpage);
|
2006-07-29 15:29:27 +08:00
|
|
|
#else
|
|
|
|
EXPORT_SYMBOL(cpu_user);
|
|
|
|
#endif
|
2007-07-20 18:42:46 +08:00
|
|
|
#endif
|
2006-07-29 15:29:27 +08:00
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
/*
|
|
|
|
* No module should need to touch the TLB (and currently
|
|
|
|
* no modules do. We export this for "loadkernel" support
|
|
|
|
* (booting a new kernel from within a running kernel.)
|
|
|
|
*/
|
|
|
|
#ifdef MULTI_TLB
|
|
|
|
EXPORT_SYMBOL(cpu_tlb);
|
|
|
|
#endif
|