Re: [PATCH 1/3] x86_64: further cleanup of 32-bit compat syscallmechanisms

From: Jeremy Fitzhardinge
Date: Mon Jul 14 2008 - 17:59:27 EST


H. Peter Anvin wrote:
Jeremy Fitzhardinge wrote:
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 <jeremy.fitzhardinge@xxxxxxxxxx>

Acked-by: H. Peter Anvin <hpa@xxxxxxxxx>

Have these been applied to anything yet?

J
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/