2005-04-16 16:20:36 -06:00
|
|
|
/*
|
|
|
|
* 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>
|
2006-07-29 01:29:27 -06:00
|
|
|
#include <asm/page.h>
|
2005-04-16 16:20:36 -06:00
|
|
|
|
|
|
|
#ifndef MULTI_CPU
|
|
|
|
EXPORT_SYMBOL(cpu_dcache_clean_area);
|
2006-12-13 07:34:43 -07:00
|
|
|
EXPORT_SYMBOL(cpu_set_pte_ext);
|
2005-04-16 16:20:36 -06:00
|
|
|
#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);
|
2009-07-05 03:50:37 -06:00
|
|
|
EXPORT_SYMBOL(__cpuc_flush_dcache_page);
|
2009-01-09 07:28:55 -07:00
|
|
|
EXPORT_SYMBOL(dmac_inv_range); /* because of flush_ioremap_region() */
|
2005-04-16 16:20:36 -06:00
|
|
|
#else
|
|
|
|
EXPORT_SYMBOL(cpu_cache);
|
|
|
|
#endif
|
|
|
|
|
2007-07-20 04:42:46 -06:00
|
|
|
#ifdef CONFIG_MMU
|
2006-07-29 01:29:27 -06:00
|
|
|
#ifndef MULTI_USER
|
2008-10-31 10:32:19 -06:00
|
|
|
EXPORT_SYMBOL(__cpu_clear_user_highpage);
|
2008-10-31 09:08:35 -06:00
|
|
|
EXPORT_SYMBOL(__cpu_copy_user_highpage);
|
2006-07-29 01:29:27 -06:00
|
|
|
#else
|
|
|
|
EXPORT_SYMBOL(cpu_user);
|
|
|
|
#endif
|
2007-07-20 04:42:46 -06:00
|
|
|
#endif
|
2006-07-29 01:29:27 -06:00
|
|
|
|
2005-04-16 16:20:36 -06:00
|
|
|
/*
|
|
|
|
* 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
|