mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 00:48:50 +00:00
d2912cb15b
Based on 2 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms of the gnu general public license version 2 as published by the free software foundation this program is free software you can redistribute it and or modify it under the terms of the gnu general public license version 2 as published by the free software foundation # extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 4122 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Enrico Weigelt <info@metux.net> Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org> Reviewed-by: Allison Randal <allison@lohutok.net> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190604081206.933168790@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
50 lines
1.1 KiB
C
50 lines
1.1 KiB
C
// SPDX-License-Identifier: GPL-2.0-only
|
|
/*
|
|
* 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>
|
|
#include <asm/page.h>
|
|
|
|
#ifndef MULTI_CPU
|
|
EXPORT_SYMBOL(cpu_dcache_clean_area);
|
|
#ifdef CONFIG_MMU
|
|
EXPORT_SYMBOL(cpu_set_pte_ext);
|
|
#endif
|
|
#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);
|
|
EXPORT_SYMBOL(__cpuc_flush_dcache_area);
|
|
#else
|
|
EXPORT_SYMBOL(cpu_cache);
|
|
#endif
|
|
|
|
#ifdef CONFIG_MMU
|
|
#ifndef MULTI_USER
|
|
EXPORT_SYMBOL(__cpu_clear_user_highpage);
|
|
EXPORT_SYMBOL(__cpu_copy_user_highpage);
|
|
#else
|
|
EXPORT_SYMBOL(cpu_user);
|
|
#endif
|
|
#endif
|
|
|
|
/*
|
|
* 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
|