From: Jeremy Fitzhardinge Date: Sat, 12 Jul 2008 09:22:00 +0000 (-0700) Subject: x86_64: further cleanup of 32-bit compat syscall mechanisms X-Git-Tag: v2.6.27-rc1~955^2~1^20~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a52e4b1cddd90fbfde8fb67021657936ee74b07;p=pandora-kernel.git x86_64: further cleanup of 32-bit compat syscall mechanisms AMD only supports "syscall" from 32-bit compat usermode. Intel and Centaur(?) only support "sysenter" from 32-bit compat usermode. Set the X86 feature bits accordingly, and set up the vdso in accordance with those bits. On the offchance we run on in a 64-bit environment which supports neither syscall nor sysenter from 32-bit mode, then fall back to the int $0x80 vdso. Signed-off-by: Jeremy Fitzhardinge Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed