Kees Cook ebba638ae7 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 <kees.cook@canonical.com>
LKML-Reference: <1289414154-7829-4-git-send-email-kees.cook@canonical.com>
Acked-by: Pekka Enberg <penberg@kernel.org>
Acked-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
2010-11-10 15:43:09 -08:00
..
2010-08-27 11:12:29 -07:00
2010-10-26 16:52:08 -07:00
2010-07-21 11:33:27 -07:00
2010-07-21 21:23:51 -07:00
2010-08-27 11:12:29 -07:00
2010-10-26 16:52:14 -07:00
2010-09-22 16:33:03 -04:00
2010-10-27 17:22:16 +02:00
2010-10-27 18:03:10 -07:00
2010-10-25 19:38:52 +02:00
2009-12-09 16:28:59 -08:00
2010-03-26 11:33:57 +01:00
2010-02-16 18:21:32 +01:00
2010-10-18 10:49:34 -04:00