This partially reverts 'commit 702b94bff3
("ARM: dma-mapping:
remove dmac_clean_range and dmac_inv_range")'
Some MSM drivers still use the dmac_clean and dmac_inv_range APIs.
Bring back the defines and exports for v7 CPUs.
Change-Id: I69017d73da1065a5eeb9c87c899b6a51be5ebfe6
Signed-off-by: Rohit Vaswani <rvaswani@codeaurora.org>
Signed-off-by: Abhimanyu Kapur <abhimany@codeaurora.org>
[sramana: resolved minor merge conflicts]
Signed-off-by: Srinivas Ramana <sramana@codeaurora.org>
56 lines
1.3 KiB
C
56 lines
1.3 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);
|
|
#ifdef CONFIG_MMU
|
|
EXPORT_SYMBOL(cpu_set_pte_ext);
|
|
#endif
|
|
#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);
|
|
EXPORT_SYMBOL(__cpuc_flush_dcache_area);
|
|
EXPORT_SYMBOL(dmac_inv_range);
|
|
EXPORT_SYMBOL(dmac_clean_range);
|
|
EXPORT_SYMBOL(dmac_flush_range);
|
|
#else
|
|
EXPORT_SYMBOL(cpu_cache);
|
|
#endif
|
|
|
|
#ifdef CONFIG_MMU
|
|
#ifndef MULTI_USER
|
|
EXPORT_SYMBOL(__cpu_clear_user_highpage);
|
|
EXPORT_SYMBOL(__cpu_copy_user_highpage);
|
|
#else
|
|
EXPORT_SYMBOL(cpu_user);
|
|
#endif
|
|
#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
|