]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/include/asm/system.h
arm: remove bogus cp_delay() function
[karo-tx-uboot.git] / arch / arm / include / asm / system.h
index 2b28a261ba0218692cf0a121807d44429ce026af..ad524c5ef00a306828a4b4b5123a2fba648c88c0 100644 (file)
@@ -64,7 +64,7 @@
 static inline unsigned int get_cr(void)
 {
        unsigned int val;
-       asm("mrc p15, 0, %0, c1, c0, 0  @ get CR" : "=r" (val) : : "cc");
+       asm volatile("mrc p15, 0, %0, c1, c0, 0 @ get CR" : "=r" (val) : : "cc");
        return val;
 }