diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-01-26 16:18:09 -0500 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-06-17 05:10:03 -0400 |
commit | 63fa71872bdec70f4a82e562fc34f8d87e174774 (patch) | |
tree | cb39d230589ee6451ecb45151e5b0069e27bf02f /arch/arm/boot | |
parent | 4a8d57a54fb21f32ee17e0a61ca54c7a6f8f83da (diff) |
ARM: zImage: __armv3_mpu_cache_flush: respect should-be-zero specification
Probably the register content for cache operations is "don't care" in
practice, but as r1 is explicitly zeroed, use that one.
Acked-by: Eric Miao <eric.miao@canonical.com>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r-- | arch/arm/boot/compressed/head.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/compressed/head.S b/arch/arm/boot/compressed/head.S index 7b7d95c84641..2366613ad502 100644 --- a/arch/arm/boot/compressed/head.S +++ b/arch/arm/boot/compressed/head.S | |||
@@ -994,7 +994,7 @@ no_cache_id: | |||
994 | __armv3_mmu_cache_flush: | 994 | __armv3_mmu_cache_flush: |
995 | __armv3_mpu_cache_flush: | 995 | __armv3_mpu_cache_flush: |
996 | mov r1, #0 | 996 | mov r1, #0 |
997 | mcr p15, 0, r0, c7, c0, 0 @ invalidate whole cache v3 | 997 | mcr p15, 0, r1, c7, c0, 0 @ invalidate whole cache v3 |
998 | mov pc, lr | 998 | mov pc, lr |
999 | 999 | ||
1000 | /* | 1000 | /* |