Re: [patch] x86_64: fix is_at_popf() for compat tasks

From: Andi Kleen
Date: Mon Jul 31 2006 - 16:06:20 EST

> How about checking for regs->cs != __USER_CS instead? In 64-bit mode
> a program shouldn't have any other value there while in 32-bit mode
> it could be using LDT segments.

It could in theory, but it shouldn't agreed. Added thanks.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at