aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2010-11-10 18:35:53 +0000
committerH. Peter Anvin <[email protected]>2010-11-10 23:43:09 +0000
commitebba638ae723d8a8fc2f7abce5ec18b688b791d7 (patch)
tree774eebadd4ca78e988e8ad029bca0d5e0e43f81c /lib/dynamic_debug.c
parentx86, cpu: Clear XD_DISABLED flag on Intel to regain NX (diff)
downloadkernel-ebba638ae723d8a8fc2f7abce5ec18b688b791d7.tar.gz
kernel-ebba638ae723d8a8fc2f7abce5ec18b688b791d7.zip
x86, cpu: Call verify_cpu during 32bit CPU startup
The XD_DISABLE-clearing side-effect needs to happen for both 32bit and 64bit, but the 32bit init routines were not calling verify_cpu() yet. This adds that call to gain the side-effect. The longmode/SSE tests being performed in verify_cpu() need to happen very early for 64bit but not for 32bit. Instead of including it in two places for 32bit, we can just include it once in arch/x86/kernel/head_32.S. Signed-off-by: Kees Cook <[email protected]> LKML-Reference: <[email protected]> Acked-by: Pekka Enberg <[email protected]> Acked-by: Alan Cox <[email protected]> Signed-off-by: H. Peter Anvin <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions