blob: ab143557e6889ae7c5ff23e2e335716d6e134ef5 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
2 * linux/arch/arm/mm/proc-syms.c
3 *
4 * Copyright (C) 2000-2002 Russell King
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
10#include <linux/module.h>
11#include <linux/mm.h>
12
13#include <asm/cacheflush.h>
14#include <asm/proc-fns.h>
15#include <asm/tlbflush.h>
George G. Davis7b1df192006-07-29 08:29:27 +010016#include <asm/page.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070017
18#ifndef MULTI_CPU
19EXPORT_SYMBOL(cpu_dcache_clean_area);
20EXPORT_SYMBOL(cpu_set_pte);
21#else
22EXPORT_SYMBOL(processor);
23#endif
24
25#ifndef MULTI_CACHE
26EXPORT_SYMBOL(__cpuc_flush_kern_all);
27EXPORT_SYMBOL(__cpuc_flush_user_all);
28EXPORT_SYMBOL(__cpuc_flush_user_range);
29EXPORT_SYMBOL(__cpuc_coherent_kern_range);
30#else
31EXPORT_SYMBOL(cpu_cache);
32#endif
33
George G. Davis7b1df192006-07-29 08:29:27 +010034#ifndef MULTI_USER
35EXPORT_SYMBOL(__cpu_clear_user_page);
36EXPORT_SYMBOL(__cpu_copy_user_page);
37#else
38EXPORT_SYMBOL(cpu_user);
39#endif
40
Linus Torvalds1da177e2005-04-16 15:20:36 -070041/*
42 * No module should need to touch the TLB (and currently
43 * no modules do. We export this for "loadkernel" support
44 * (booting a new kernel from within a running kernel.)
45 */
46#ifdef MULTI_TLB
47EXPORT_SYMBOL(cpu_tlb);
48#endif