aboutsummaryrefslogtreecommitdiff
path: root/target/i386/cpu-qom.h
diff options
context:
space:
mode:
Diffstat (limited to 'target/i386/cpu-qom.h')
-rw-r--r--target/i386/cpu-qom.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/target/i386/cpu-qom.h b/target/i386/cpu-qom.h
index 6b0bf476e5..05b52ba74c 100644
--- a/target/i386/cpu-qom.h
+++ b/target/i386/cpu-qom.h
@@ -32,12 +32,8 @@
typedef struct X86CPU X86CPU;
typedef struct X86CPUClass X86CPUClass;
-#define X86_CPU_CLASS(klass) \
- OBJECT_CLASS_CHECK(X86CPUClass, (klass), TYPE_X86_CPU)
-#define X86_CPU(obj) \
- OBJECT_CHECK(X86CPU, (obj), TYPE_X86_CPU)
-#define X86_CPU_GET_CLASS(obj) \
- OBJECT_GET_CLASS(X86CPUClass, (obj), TYPE_X86_CPU)
+DECLARE_OBJ_CHECKERS(X86CPU, X86CPUClass,
+ X86_CPU, TYPE_X86_CPU)
typedef struct X86CPUModel X86CPUModel;