From: Kees Cook Date: Wed, 10 Nov 2010 18:35:53 +0000 (-0800) Subject: x86, cpu: Call verify_cpu during 32bit CPU startup X-Git-Tag: v2.6.38-rc1~485^2~2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebba638ae723d8a8fc2f7abce5ec18b688b791d7;p=pandora-kernel.git 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 LKML-Reference: <1289414154-7829-4-git-send-email-kees.cook@canonical.com> Acked-by: Pekka Enberg Acked-by: Alan Cox Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed