proc-syms.c 1.2 KB
Newer Older
L
Linus Torvalds 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
/*
 *  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>
16
#include <asm/page.h>
L
Linus Torvalds 已提交
17 18 19

#ifndef MULTI_CPU
EXPORT_SYMBOL(cpu_dcache_clean_area);
20
#ifdef CONFIG_MMU
R
Russell King 已提交
21
EXPORT_SYMBOL(cpu_set_pte_ext);
22
#endif
L
Linus Torvalds 已提交
23 24 25 26 27 28 29 30 31
#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);
32
EXPORT_SYMBOL(__cpuc_flush_dcache_area);
L
Linus Torvalds 已提交
33 34 35 36
#else
EXPORT_SYMBOL(cpu_cache);
#endif

37
#ifdef CONFIG_MMU
38
#ifndef MULTI_USER
39
EXPORT_SYMBOL(__cpu_clear_user_highpage);
40
EXPORT_SYMBOL(__cpu_copy_user_highpage);
41 42 43
#else
EXPORT_SYMBOL(cpu_user);
#endif
44
#endif
45

L
Linus Torvalds 已提交
46 47 48 49 50 51 52 53
/*
 * 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