aboutsummaryrefslogtreecommitdiff
path: root/target/sparc/cpu-qom.h
diff options
context:
space:
mode:
Diffstat (limited to 'target/sparc/cpu-qom.h')
-rw-r--r--target/sparc/cpu-qom.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/target/sparc/cpu-qom.h b/target/sparc/cpu-qom.h
index b7cc81e5f3..42cb631d45 100644
--- a/target/sparc/cpu-qom.h
+++ b/target/sparc/cpu-qom.h
@@ -31,12 +31,8 @@
typedef struct SPARCCPU SPARCCPU;
typedef struct SPARCCPUClass SPARCCPUClass;
-#define SPARC_CPU_CLASS(klass) \
- OBJECT_CLASS_CHECK(SPARCCPUClass, (klass), TYPE_SPARC_CPU)
-#define SPARC_CPU(obj) \
- OBJECT_CHECK(SPARCCPU, (obj), TYPE_SPARC_CPU)
-#define SPARC_CPU_GET_CLASS(obj) \
- OBJECT_GET_CLASS(SPARCCPUClass, (obj), TYPE_SPARC_CPU)
+DECLARE_OBJ_CHECKERS(SPARCCPU, SPARCCPUClass,
+ SPARC_CPU, TYPE_SPARC_CPU)
typedef struct sparc_def_t sparc_def_t;
/**