aboutsummaryrefslogtreecommitdiff
path: root/include/hw/cpu/core.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/cpu/core.h')
-rw-r--r--include/hw/cpu/core.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/hw/cpu/core.h b/include/hw/cpu/core.h
index 850191527e..61ea3481f8 100644
--- a/include/hw/cpu/core.h
+++ b/include/hw/cpu/core.h
@@ -15,8 +15,8 @@
#define TYPE_CPU_CORE "cpu-core"
typedef struct CPUCore CPUCore;
-#define CPU_CORE(obj) \
- OBJECT_CHECK(CPUCore, (obj), TYPE_CPU_CORE)
+DECLARE_INSTANCE_CHECKER(CPUCore, CPU_CORE,
+ TYPE_CPU_CORE)
struct CPUCore {
/*< private >*/