]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - arch/arm/cpu/arm926ejs/cache.c
ARM926EJS: Make asm routines volatile in cache ops
[karo-tx-uboot.git] / arch / arm / cpu / arm926ejs / cache.c
index 4430578a81c1f7f1dd49f7f41413b50ad499dffd..07f036f18b4628095414cbcf499fca6398547811 100644 (file)
@@ -82,7 +82,7 @@ void flush_dcache_range(unsigned long start, unsigned long stop)
                start += CONFIG_SYS_CACHELINE_SIZE;
        }
 
-       asm("mcr p15, 0, %0, c7, c10, 4\n"::"r"(0));
+       asm volatile("mcr p15, 0, %0, c7, c10, 4\n"::"r"(0));
 }
 
 void flush_cache(unsigned long start, unsigned long size)