X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=arch%2Farm%2Finclude%2Fasm%2Fsystem.h;h=8b5b9f47b465bb047f632d9da1a6f71457bd0d54;hb=f1cd0e93f99e9ff56817d90607286a3d1ea4245c;hp=760345f847fd711f916ba5ac4bacffeeaf424a49;hpb=be08abc2429c2e9cbce3d0abc1d315171d683520;p=karo-tx-uboot.git diff --git a/arch/arm/include/asm/system.h b/arch/arm/include/asm/system.h index 760345f847..8b5b9f47b4 100644 --- a/arch/arm/include/asm/system.h +++ b/arch/arm/include/asm/system.h @@ -70,7 +70,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; }