[H. Peter Anvin - Wed, Apr 23, 2008 at 11:12:33AM -0700]Peter, Ingo, any objections on the patch like that? --- From: Cyrill Gorcunov <gorcunov@gmail.com> Subject: [PATCH] reintroduce old VM86 flags for userlang backward compatibility Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com> --- Index: linux-2.6.git/include/asm-x86/vm86.h =================================================================== --- linux-2.6.git.orig/include/asm-x86/vm86.h 2008-04-23 22:38:58.000000000 +0400 +++ linux-2.6.git/include/asm-x86/vm86.h 2008-04-23 22:41:06.000000000 +0400 @@ -14,6 +14,18 @@ #include <asm/processor-flags.h> +/* backward compatibility for userland */ +#ifndef __KERNEL__ +#define TF_MASK X86_EFLAGS_TF +#define IF_MASK X86_EFLAGS_IF +#define IOPL_MASK X86_EFLAGS_IOPL +#define NT_MASK X86_EFLAGS_NT +#define AC_MASK X86_EFLAGS_AC +#define VIF_MASK X86_EFLAGS_VIF +#define VIP_MASK X86_EFLAGS_VIP +#define ID_MASK X86_EFLAGS_ID +#endif + #ifdef CONFIG_VM86 #define X86_VM_MASK X86_EFLAGS_VM #else --
| Natalie Protasevich | [BUG] New Kernel Bugs |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Andi Kleen | [PATCH x86] [0/16] Various i386/x86-64 changes |
git: | |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Linus Torvalds | Re: [GIT]: Networking |
| Jeff Kirsher | [net-next PATCH 1/7] e1000e: enable CRC stripping by default |
| Jukka Andberg | ata/wdc vs gcc3 on amiga |
| YAMAMOTO Takashi | Re: wd.c patch to reduce kernel stack usage |
| Jason Thorpe | Re: ksyms patches. |
| rick | NFS transport |
