[PATCH 44/78] ARM: aarch64: mmu: No need to disable icache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When the MMU is disabled there is no need to disable the icache. Leave
it enabled.

Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>
---
 arch/arm/cpu/mmu_64.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/cpu/mmu_64.c b/arch/arm/cpu/mmu_64.c
index 7932185885..c8c3c9d84f 100644
--- a/arch/arm/cpu/mmu_64.c
+++ b/arch/arm/cpu/mmu_64.c
@@ -330,7 +330,7 @@ void mmu_disable(void)
 		arm_mmu_not_initialized_error();
 
 	cr = get_cr();
-	cr &= ~(CR_M | CR_C | CR_I);
+	cr &= ~(CR_M | CR_C);
 
 	tlb_invalidate();
 
-- 
2.16.1


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux