提交 f000328a 编写于 作者: N Nicolas Pitre

[ARM] Kirkwood: small L2 code cleanup

Strictly speaking, a MCR instruction does not produce any output.
Signed-off-by: NNicolas Pitre <nico@marvell.com>
上级 d75de087
...@@ -258,9 +258,7 @@ static void __init enable_dcache(void) ...@@ -258,9 +258,7 @@ static void __init enable_dcache(void)
static void __init __invalidate_icache(void) static void __init __invalidate_icache(void)
{ {
int dummy; __asm__("mcr p15, 0, %0, c7, c5, 0" : : "r" (0));
__asm__ __volatile__("mcr p15, 0, %0, c7, c5, 0" : "=r" (dummy));
} }
static int __init invalidate_and_disable_icache(void) static int __init invalidate_and_disable_icache(void)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册