projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86/init: Fix cr4_init_shadow() on CR4-less machines
[cascardo/linux.git]
/
arch
/
x86
/
include
/
asm
/
tlbflush.h
diff --git
a/arch/x86/include/asm/tlbflush.h
b/arch/x86/include/asm/tlbflush.h
index
6fa8594
..
dee8a70
100644
(file)
--- a/
arch/x86/include/asm/tlbflush.h
+++ b/
arch/x86/include/asm/tlbflush.h
@@
-81,7
+81,7
@@
DECLARE_PER_CPU_SHARED_ALIGNED(struct tlb_state, cpu_tlbstate);
/* Initialize cr4 shadow for this CPU. */
static inline void cr4_init_shadow(void)
{
- this_cpu_write(cpu_tlbstate.cr4, __read_cr4());
+ this_cpu_write(cpu_tlbstate.cr4, __read_cr4
_safe
());
}
/* Set in this cpu's CR4. */