aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
diff options
context:
space:
mode:
authorAndy Lutomirski <[email protected]>2016-09-29 19:48:11 +0000
committerThomas Gleixner <[email protected]>2016-09-30 10:37:40 +0000
commit192d1dccbfc5b901b66527df9df80304693cf06e (patch)
tree8ee15ef8ca5f7bc9887dbd61f66c171013c4aae5 /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
parentx86/init: Fix cr4_init_shadow() on CR4-less machines (diff)
downloadkernel-192d1dccbfc5b901b66527df9df80304693cf06e.tar.gz
kernel-192d1dccbfc5b901b66527df9df80304693cf06e.zip
x86/boot: Fix another __read_cr4() case on 486
The condition for reading CR4 was wrong: there are some CPUs with CPUID but not CR4. Rather than trying to make the condition exact, use __read_cr4_safe(). Fixes: 18bc7bd523e0 ("x86/boot: Synchronize trampoline_cr4_features and mmu_cr4_features directly") Reported-by: [email protected] Signed-off-by: Andy Lutomirski <[email protected]> Reviewed-by: Borislav Petkov <[email protected]> Cc: Brian Gerst <[email protected]> Link: http://lkml.kernel.org/r/8c453a61c4f44ab6ff43c29780ba04835234d2e5.1475178369.git.luto@kernel.org Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions