| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
| 2 | |
| 3 | #include "qemu/osdep.h" |
| 4 | #include "exec/cpu-common.h" |
| 5 | |
| 6 | /* |
| 7 | * user-mode CPUs never create address spaces with |
| 8 | * cpu_address_space_init(), so the cleanup function doesn't |
| 9 | * need to do anything. We need this stub because cpu-common.c |
| 10 | * is built-once so it can't #ifndef CONFIG_USER around the |
| 11 | * call; the real function is in physmem.c which is system-only. |
| 12 | */ |
| 13 | void cpu_destroy_address_spaces(CPUState *cpu) |
| 14 | { |
| 15 | } |