aboutsummaryrefslogtreecommitdiff
path: root/stubs/cpu-destroy-address-spaces.c
blob: dc6813f5bd1281b8bc094fccbfc32e7e2b4de863 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* SPDX-License-Identifier: GPL-2.0-or-later */

#include "qemu/osdep.h"
#include "exec/cpu-common.h"

/*
 * user-mode CPUs never create address spaces with
 * cpu_address_space_init(), so the cleanup function doesn't
 * need to do anything. We need this stub because cpu-common.c
 * is built-once so it can't #ifndef CONFIG_USER around the
 * call; the real function is in physmem.c which is system-only.
 */
void cpu_destroy_address_spaces(CPUState *cpu)
{
}