summary refs log tree commit diff stats
path: root/system/arch_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'system/arch_init.c')
-rw-r--r--system/arch_init.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/system/arch_init.c b/system/arch_init.c
index b9147af93c..e85736884c 100644
--- a/system/arch_init.c
+++ b/system/arch_init.c
@@ -24,4 +24,7 @@
 #include "qemu/osdep.h"
 #include "system/arch_init.h"
 
-const uint32_t arch_type = QEMU_ARCH;
+bool qemu_arch_available(unsigned qemu_arch_mask)
+{
+    return qemu_arch_mask & QEMU_ARCH;
+}