aboutsummaryrefslogtreecommitdiff
path: root/target/hppa/cpu-qom.h
diff options
context:
space:
mode:
Diffstat (limited to 'target/hppa/cpu-qom.h')
-rw-r--r--target/hppa/cpu-qom.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/target/hppa/cpu-qom.h b/target/hppa/cpu-qom.h
index 295b2aaf19..5c5aa0c053 100644
--- a/target/hppa/cpu-qom.h
+++ b/target/hppa/cpu-qom.h
@@ -27,12 +27,8 @@
typedef struct HPPACPU HPPACPU;
typedef struct HPPACPUClass HPPACPUClass;
-#define HPPA_CPU_CLASS(klass) \
- OBJECT_CLASS_CHECK(HPPACPUClass, (klass), TYPE_HPPA_CPU)
-#define HPPA_CPU(obj) \
- OBJECT_CHECK(HPPACPU, (obj), TYPE_HPPA_CPU)
-#define HPPA_CPU_GET_CLASS(obj) \
- OBJECT_GET_CLASS(HPPACPUClass, (obj), TYPE_HPPA_CPU)
+DECLARE_OBJ_CHECKERS(HPPACPU, HPPACPUClass,
+ HPPA_CPU, TYPE_HPPA_CPU)
/**
* HPPACPUClass: