提交 5f362c91 编写于 作者: M Mike Frysinger

Blackfin: SMP: use standard cache functions

Signed-off-by: NMike Frysinger <vapier@gentoo.org>
上级 ef9d8c25
...@@ -105,10 +105,10 @@ static void ipi_flush_icache(void *info) ...@@ -105,10 +105,10 @@ static void ipi_flush_icache(void *info)
struct blackfin_flush_data *fdata = info; struct blackfin_flush_data *fdata = info;
/* Invalidate the memory holding the bounds of the flushed region. */ /* Invalidate the memory holding the bounds of the flushed region. */
blackfin_dcache_invalidate_range((unsigned long)fdata, invalidate_dcache_range((unsigned long)fdata,
(unsigned long)fdata + sizeof(*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) static void ipi_call_function(unsigned int cpu, struct ipi_message *msg)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册