summaryrefslogtreecommitdiff
authorMartin von Gagern <Martin.vGagern@gmx.net>2008-11-05 16:44:03 (GMT)
committer Adam Jackson <ajax@redhat.com>2008-11-05 16:44:03 (GMT)
commit992a7168f0db5733fe4a6cbd2f40c6b1f2a150e0 (patch) (side-by-side diff)
tree224240e00afc8822d5eadbeebb62c41a9ee3ec31
parentec5046ca7565e2364f42606b26159520a73dd207 (diff)
downloadxserver-992a7168f0db5733fe4a6cbd2f40c6b1f2a150e0.zip
xserver-992a7168f0db5733fe4a6cbd2f40c6b1f2a150e0.tar.gz
Bug #17858: Fix Xvesa build on newer kernels.
Not cherry picked from master, Xvesa is gone there.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--hw/kdrive/vesa/vm86.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/hw/kdrive/vesa/vm86.h b/hw/kdrive/vesa/vm86.h
index 3b48814..8169308 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;