Re: x86: cleanup - rename VM_MASK to X86_VM_MASK

From: Cyrill Gorcunov
Date: Wed Apr 23 2008 - 14:33:37 EST


[H. Peter Anvin - Wed, Apr 23, 2008 at 11:12:33AM -0700]
> Cyrill Gorcunov wrote:
>> Hi David,
>> actually, this CONFIG_VM86 was there even before the renaming was done.
>> The main questions (imo) - is there any user space application who uses
>> these flags? If they are - then even the idea of this patch was a bit
>> bogus,
>> and I should *not* remove all these VM86 specific flags but better define
>> them
>> as aliases on flags from processor-flags.h.
>
> Hard to know. VM86 is only used by a handful of applications (DOSEMU,
> X.org, others?) but it's hard to know what exactly they are.
>
> The fact that noone hollered when that CONFIG_VM86 went in is probably a
> good hint that they don't matter, but it's hard to say for sure.
>
> -hpa
>

Actually, being google a bit I found that most of emulators
redefine their own equvalence of these flags. So I think
we could remain all as is. But if we wanna be sure I could
make a patch like this

...
#define CF_MASK X86_EFLAGS_CF
...

- Cyrill -

--
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/