projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86: mark read_crX() asm code as volatile
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
include
/
asm-x86
/
system_32.h
diff --git
a/include/asm-x86/system_32.h
b/include/asm-x86/system_32.h
index
d84e593
..
1d6fb3a
100644
(file)
--- a/
include/asm-x86/system_32.h
+++ b/
include/asm-x86/system_32.h
@@
-142,7
+142,7
@@
static inline unsigned long native_read_cr4_safe(void)
{
unsigned long val;
/* This could fault if %cr4 does not exist */
- asm
("1: movl %%cr4, %0
\n"
+ asm
volatile("1: movl %%cr4, %0
\n"
"2: \n"
".section __ex_table,\"a\" \n"
".long 1b,2b \n"