diff options
| author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-03-23 18:17:15 +0100 |
|---|---|---|
| committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-04-25 17:09:58 +0200 |
| commit | 64cbcf1d9782c340cf59868a1be97f0054c4ec44 (patch) | |
| tree | 239ea5f03860a0eeb3ac784389c09eeaefcfd8ea /accel/accel-system.c | |
| parent | 2492008d0de0380ee910730dc10159a8e29b13a9 (diff) | |
| download | focaccia-qemu-64cbcf1d9782c340cf59868a1be97f0054c4ec44.tar.gz focaccia-qemu-64cbcf1d9782c340cf59868a1be97f0054c4ec44.zip | |
accel: Implement accel_init_ops_interfaces() for both system/user mode
We want to build more common code, moving objects from meson's specific_ss[] set to common_ss[]. Since the CONFIG_USER_ONLY definitions isn't applied on the common_ss[] set, it is simpler to add an empty accel_init_ops_interfaces() stub on user emulation, removing any CONFIG_USER_ONLY use in accel-target.c. Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-Id: <20250417165430.58213-5-philmd@linaro.org>
Diffstat (limited to 'accel/accel-system.c')
| -rw-r--r-- | accel/accel-system.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/accel/accel-system.c b/accel/accel-system.c index 5df49fbe83..a0f562ae9f 100644 --- a/accel/accel-system.c +++ b/accel/accel-system.c @@ -29,7 +29,7 @@ #include "system/accel-ops.h" #include "system/cpus.h" #include "qemu/error-report.h" -#include "accel-system.h" +#include "accel-internal.h" int accel_init_machine(AccelState *accel, MachineState *ms) { @@ -63,7 +63,7 @@ void accel_setup_post(MachineState *ms) } /* initialize the arch-independent accel operation interfaces */ -void accel_system_init_ops_interfaces(AccelClass *ac) +void accel_init_ops_interfaces(AccelClass *ac) { const char *ac_name; char *ops_name; |