Skip to content

Commit

Permalink
[ARM] Kirkwood: small L2 code cleanup
Browse files Browse the repository at this point in the history
Strictly speaking, a MCR instruction does not produce any output.

Signed-off-by: Nicolas Pitre <nico@marvell.com>
  • Loading branch information
Nicolas Pitre committed Mar 29, 2009
1 parent d75de08 commit f000328
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions arch/arm/mm/cache-feroceon-l2.c
Original file line number Diff line number Diff line change
Expand Up @@ -258,9 +258,7 @@ static void __init enable_dcache(void)

static void __init __invalidate_icache(void)
{
int dummy;

__asm__ __volatile__("mcr p15, 0, %0, c7, c5, 0" : "=r" (dummy));
__asm__("mcr p15, 0, %0, c7, c5, 0" : : "r" (0));
}

static int __init invalidate_and_disable_icache(void)
Expand Down

0 comments on commit f000328

Please sign in to comment.