hw/cpu: Correct CPU_GET_CLASS() comment
commit 0e86d7a71e8 ("cpus: Cache CPUClass early in instance_init() handler") renamed cpu_exec_realizefn() -> cpu_common_initfn(); update the comment. Signed-off-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20260811183410.22428-2-philmd@oss.qualcomm.com>
Philippe Mathieu-Daudé committed
Aug 11, 2026 at 07:43 UTC
5147e585e7002a3c4dbdad3ca85c716925831541
1 file changed
+1
-1
include/hw/core/cpu.h
+1
-1
@@ -60,7 +60,7 @@ typedef int (*WriteCoreDumpFunction)(const void *buf, size_t size,
60
* expensive given the eventual call to
61
* object_class_dynamic_cast_assert(). Because of this the CPUState
62
* has a cached value for the class in cs->cc which is set up in
63
- * cpu_exec_realizefn() for use in hot code paths.
63
+ * cpu_common_initfn() for use in hot code paths.
64
*/
65
typedef struct CPUClass CPUClass;
66
DECLARE_CLASS_CHECKERS(CPUClass, CPU,