mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
x86/emul: Fix emulator test harness build following the backport of ff555d59e8
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
This commit is contained in:
1 parent
e9281adb47
commit
236b8be22d
1 file changed
+3
@@ -23,6 +23,9 @@ typedef bool bool_t;
|
||||
#define BUILD_BUG_ON(cond) ((void)BUILD_BUG_ON_ZERO(cond))
|
||||
#endif
|
||||
|
||||
#define MASK_EXTR(v, m) (((v) & (m)) / ((m) & -(m)))
|
||||
#define MASK_INSR(v, m) (((v) * ((m) & -(m))) & (m))
|
||||
|
||||
#define cpu_has_amd_erratum(nr) 0
|
||||
|
||||
#define __packed __attribute__((packed))
|
||||
|
||||