summaryrefslogtreecommitdiffstats
path: root/target/cris/cpu-qom.h
diff options
context:
space:
mode:
Diffstat (limited to 'target/cris/cpu-qom.h')
-rw-r--r--target/cris/cpu-qom.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/target/cris/cpu-qom.h b/target/cris/cpu-qom.h
index cac3e9af1b..eced6ef7c9 100644
--- a/target/cris/cpu-qom.h
+++ b/target/cris/cpu-qom.h
@@ -27,12 +27,8 @@
typedef struct CRISCPU CRISCPU;
typedef struct CRISCPUClass CRISCPUClass;
-#define CRIS_CPU_CLASS(klass) \
- OBJECT_CLASS_CHECK(CRISCPUClass, (klass), TYPE_CRIS_CPU)
-#define CRIS_CPU(obj) \
- OBJECT_CHECK(CRISCPU, (obj), TYPE_CRIS_CPU)
-#define CRIS_CPU_GET_CLASS(obj) \
- OBJECT_GET_CLASS(CRISCPUClass, (obj), TYPE_CRIS_CPU)
+DECLARE_OBJ_CHECKERS(CRISCPU, CRISCPUClass,
+ CRIS_CPU, TYPE_CRIS_CPU)
/**
* CRISCPUClass: