blob: ac5c80062b704b791d0d9af9be34e7484f8d4311 [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);
Russell Kingad1ae2f2006-12-13 14:34:43 +000020EXPORT_SYMBOL(cpu_set_pte_ext);
Linus Torvalds1da177e2005-04-16 15:20:36 -070021#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);
Russell Kingba9b42e2009-07-05 10:50:37 +010030EXPORT_SYMBOL(__cpuc_flush_dcache_page);
Nicolas Pitre98007c22009-01-09 15:28:55 +010031EXPORT_SYMBOL(dmac_inv_range); /* because of flush_ioremap_region() */
Linus Torvalds1da177e2005-04-16 15:20:36 -070032#else
33EXPORT_SYMBOL(cpu_cache);
34#endif
35
Catalin Marinas2a0cc682007-07-20 11:42:46 +010036#ifdef CONFIG_MMU
George G. Davis7b1df192006-07-29 08:29:27 +010037#ifndef MULTI_USER
Russell King303c6442008-10-31 16:32:19 +000038EXPORT_SYMBOL(__cpu_clear_user_highpage);
Russell King063b0a42008-10-31 15:08:35 +000039EXPORT_SYMBOL(__cpu_copy_user_highpage);
George G. Davis7b1df192006-07-29 08:29:27 +010040#else
41EXPORT_SYMBOL(cpu_user);
42#endif
Catalin Marinas2a0cc682007-07-20 11:42:46 +010043#endif
George G. Davis7b1df192006-07-29 08:29:27 +010044
Linus Torvalds1da177e2005-04-16 15:20:36 -070045/*
46 * No module should need to touch the TLB (and currently
47 * no modules do. We export this for "loadkernel" support
48 * (booting a new kernel from within a running kernel.)
49 */
50#ifdef MULTI_TLB
51EXPORT_SYMBOL(cpu_tlb);
52#endif