Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[ARM] Kirkwood: small L2 code cleanup

Strictly speaking, a MCR instruction does not produce any output.

Signed-off-by: Nicolas Pitre <nico@marvell.com>

+1 -3
+1 -3
arch/arm/mm/cache-feroceon-l2.c
··· 258 258 259 259 static void __init __invalidate_icache(void) 260 260 { 261 - int dummy; 262 - 263 - __asm__ __volatile__("mcr p15, 0, %0, c7, c5, 0" : "=r" (dummy)); 261 + __asm__("mcr p15, 0, %0, c7, c5, 0" : : "r" (0)); 264 262 } 265 263 266 264 static int __init invalidate_and_disable_icache(void)