forked from luck/tmp_suning_uos_patched
ad1ae2fe7f
L_PTE_ASID is not really required to be stored in every PTE, since we can identify it via the address passed to set_pte_at(). So, create set_pte_ext() which takes the address of the PTE to set, the Linux PTE value, and the additional CPU PTE bits which aren't encoded in the Linux PTE value. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
49 lines
1.1 KiB
C
49 lines
1.1 KiB
C
/*
|
|
* linux/arch/arm/mm/proc-syms.c
|
|
*
|
|
* Copyright (C) 2000-2002 Russell King
|
|
*
|
|
* 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.
|
|
*/
|
|
#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);
|
|
EXPORT_SYMBOL(cpu_set_pte_ext);
|
|
#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);
|
|
#else
|
|
EXPORT_SYMBOL(cpu_cache);
|
|
#endif
|
|
|
|
#ifndef MULTI_USER
|
|
EXPORT_SYMBOL(__cpu_clear_user_page);
|
|
EXPORT_SYMBOL(__cpu_copy_user_page);
|
|
#else
|
|
EXPORT_SYMBOL(cpu_user);
|
|
#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
|