Revert "armv7: disable L2 cache in cleanup_before_linux()"
authorGrazvydas Ignotas <notasas@gmail.com>
Tue, 27 Dec 2011 22:34:34 +0000 (00:34 +0200)
committernotaz <notasas@gmail.com>
Sat, 2 Jul 2016 21:23:04 +0000 (00:23 +0300)
This reverts commit dc7100f4080952798413fb63bb4134b22c57623a.
We still need this for the old kernels..

arch/arm/cpu/armv7/cpu.c

index 39a8023..9a3242a 100644 (file)
@@ -63,7 +63,6 @@ int cleanup_before_linux(void)
         * dcache_disable() in turn flushes the d-cache and disables MMU
         */
        dcache_disable();
-       v7_outer_cache_disable();
 
        /*
         * After D-cache is flushed and before it is disabled there may