Andy Lutomirski 192d1dccbf 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: david@saggiorato.net
Signed-off-by: Andy Lutomirski <luto@kernel.org>
Reviewed-by: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Link: http://lkml.kernel.org/r/8c453a61c4f44ab6ff43c29780ba04835234d2e5.1475178369.git.luto@kernel.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2016-09-30 12:37:40 +02:00
..
2015-08-25 09:59:19 +02:00
2016-07-26 17:26:29 +10:00
2015-11-23 09:44:58 +01:00
2016-01-30 11:22:17 +01:00
2016-06-06 17:10:15 +02:00
2016-04-16 13:21:40 +02:00
2016-08-04 13:52:21 +02:00
2015-10-21 11:17:32 +02:00
2015-11-05 13:07:54 +01:00