]> git.proxmox.com Git - mirror_qemu.git/commitdiff
accel: Rename accel_init_ops_interfaces() to include 'system'
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 10 Jan 2024 09:00:53 +0000 (10:00 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 19 Jan 2024 11:28:59 +0000 (12:28 +0100)
accel_init_ops_interfaces() is system specific, so
rename it as accel_system_init_ops_interfaces() to
ease navigating the code.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-ID: <20240111120221.35072-2-philmd@linaro.org>

accel/accel-system.c
accel/accel-system.h
accel/accel-target.c

index fa8f43757ceab99b14b3c0670cc1ed1a5675cca6..f6c947dd8215e6d6a0cbdb57f38cfee1f11c22e6 100644 (file)
@@ -62,7 +62,7 @@ void accel_setup_post(MachineState *ms)
 }
 
 /* initialize the arch-independent accel operation interfaces */
-void accel_init_ops_interfaces(AccelClass *ac)
+void accel_system_init_ops_interfaces(AccelClass *ac)
 {
     const char *ac_name;
     char *ops_name;
index d41c62f21b15ca1884b38601c6e84d2df1c52fb7..2d37c73c97b58698a7ac68f3b04a95db69cde7d5 100644 (file)
@@ -10,6 +10,6 @@
 #ifndef ACCEL_SYSTEM_H
 #define ACCEL_SYSTEM_H
 
-void accel_init_ops_interfaces(AccelClass *ac);
+void accel_system_init_ops_interfaces(AccelClass *ac);
 
 #endif /* ACCEL_SYSTEM_H */
index 7e3cbde5dfe3d21ed9f1aa1e5c9e933d46aaee2f..08626c00c2d4c7b33ef0786dd8b401e751ff916b 100644 (file)
@@ -104,7 +104,7 @@ static void accel_init_cpu_interfaces(AccelClass *ac)
 void accel_init_interfaces(AccelClass *ac)
 {
 #ifndef CONFIG_USER_ONLY
-    accel_init_ops_interfaces(ac);
+    accel_system_init_ops_interfaces(ac);
 #endif /* !CONFIG_USER_ONLY */
 
     accel_init_cpu_interfaces(ac);