arm: Fix typo in AARCH64_CPU_GET_CLASS definition
authorEduardo Habkost <ehabkost@redhat.com>
Tue, 25 Aug 2020 19:20:47 +0000 (15:20 -0400)
committerEduardo Habkost <ehabkost@redhat.com>
Wed, 2 Sep 2020 11:29:25 +0000 (07:29 -0400)
There's a typo in the type name of AARCH64_CPU_GET_CLASS.  This
was never detected because the macro is not used by any code.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20200825192110.3528606-52-ehabkost@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
target/arm/cpu-qom.h

index 56395b87f62d25916a36f56de0a3bb4748e5b10c..fdef05cacf6c78c3864b9859e143b407a6ff94b4 100644 (file)
@@ -67,7 +67,7 @@ typedef struct ARMCPU ARMCPU;
 #define AARCH64_CPU_CLASS(klass) \
     OBJECT_CLASS_CHECK(AArch64CPUClass, (klass), TYPE_AARCH64_CPU)
 #define AARCH64_CPU_GET_CLASS(obj) \
-    OBJECT_GET_CLASS(AArch64CPUClass, (obj), TYPE_AArch64_CPU)
+    OBJECT_GET_CLASS(AArch64CPUClass, (obj), TYPE_AARCH64_CPU)
 
 typedef struct AArch64CPUClass {
     /*< private >*/