diff options
author | Martin von Gagern <Martin.vGagern@gmx.net> | 2008-11-05 11:44:03 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2008-11-05 11:44:03 -0500 |
commit | 992a7168f0db5733fe4a6cbd2f40c6b1f2a150e0 (patch) | |
tree | 224240e00afc8822d5eadbeebb62c41a9ee3ec31 | |
parent | ec5046ca7565e2364f42606b26159520a73dd207 (diff) |
Bug #17858: Fix Xvesa build on newer kernels.
Not cherry picked from master, Xvesa is gone there.
-rw-r--r-- | hw/kdrive/vesa/vm86.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/hw/kdrive/vesa/vm86.h b/hw/kdrive/vesa/vm86.h index 3b4881471..81693081a 100644 --- a/hw/kdrive/vesa/vm86.h +++ b/hw/kdrive/vesa/vm86.h @@ -67,6 +67,13 @@ static void ErrorF(char*, ...); #include "os.h" #endif +#ifndef IF_MASK +#define IF_MASK X86_EFLAGS_IF +#endif +#ifndef IOPL_MASK +#define IOPL_MASK X86_EFLAGS_IOPL +#endif + typedef unsigned char U8; typedef unsigned short U16; typedef unsigned int U32; |