Merge remote-tracking branch 'vfs/for-next'
[deliverable/linux.git] / arch / xtensa / include / asm / cacheasm.h
index e0f9e1109c833c67eff94075973c8dd5c524ee3e..2041abb10a2352a4b1f4323f3e1f0d9bdfff36ec 100644 (file)
        .endm
 
 
-#if XCHAL_DCACHE_LINE_LOCKABLE
-
        .macro  ___unlock_dcache_all ar at
 
-#if XCHAL_DCACHE_SIZE
+#if XCHAL_DCACHE_LINE_LOCKABLE && XCHAL_DCACHE_SIZE
        __loop_cache_all \ar \at diu XCHAL_DCACHE_SIZE XCHAL_DCACHE_LINEWIDTH
 #endif
 
        .endm
 
-#endif
-
-#if XCHAL_ICACHE_LINE_LOCKABLE
 
        .macro  ___unlock_icache_all ar at
 
+#if XCHAL_ICACHE_LINE_LOCKABLE && XCHAL_ICACHE_SIZE
        __loop_cache_all \ar \at iiu XCHAL_ICACHE_SIZE XCHAL_ICACHE_LINEWIDTH
+#endif
 
        .endm
-#endif
+
 
        .macro  ___flush_invalidate_dcache_all ar at
 
This page took 0.02979 seconds and 5 git commands to generate.