summaryrefslogtreecommitdiffstats
path: root/arch/blackfin
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-02-02 02:55:01 +0100
committerMike Frysinger <vapier@gentoo.org>2011-03-18 09:01:01 +0100
commit5f362c91d09370cf8a3c5fbe349218377ad64e4a (patch)
tree8fcca78fa16b5b30fd108d0a253818d918a5843f /arch/blackfin
parentBlackfin: SMP: PERCPU section should be PAGE aligned (diff)
downloadlinux-5f362c91d09370cf8a3c5fbe349218377ad64e4a.tar.xz
linux-5f362c91d09370cf8a3c5fbe349218377ad64e4a.zip
Blackfin: SMP: use standard cache functions
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin')
-rw-r--r--arch/blackfin/mach-common/smp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/blackfin/mach-common/smp.c b/arch/blackfin/mach-common/smp.c
index 9f251406a76a..d3f597a92053 100644
--- a/arch/blackfin/mach-common/smp.c
+++ b/arch/blackfin/mach-common/smp.c
@@ -105,10 +105,10 @@ static void ipi_flush_icache(void *info)
struct blackfin_flush_data *fdata = info;
/* Invalidate the memory holding the bounds of the flushed region. */
- blackfin_dcache_invalidate_range((unsigned long)fdata,
- (unsigned long)fdata + sizeof(*fdata));
+ invalidate_dcache_range((unsigned long)fdata,
+ (unsigned long)fdata + sizeof(*fdata));
- blackfin_icache_flush_range(fdata->start, fdata->end);
+ flush_icache_range(fdata->start, fdata->end);
}
static void ipi_call_function(unsigned int cpu, struct ipi_message *msg)