Blackfin: SMP: use standard cache functions
authorMike Frysinger <vapier@gentoo.org>
Wed, 2 Feb 2011 01:55:01 +0000 (01:55 +0000)
committerMike Frysinger <vapier@gentoo.org>
Fri, 18 Mar 2011 08:01:01 +0000 (04:01 -0400)
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/mach-common/smp.c

index 9f25140..d3f597a 100644 (file)
@@ -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)