Commit 067d9831 authored by Alexander Graf's avatar Alexander Graf Committed by Peter Maydell

linux-user: Don't treat AArch64 cpu names specially

32-bit ARM has a lot of different names for different types of CPUs it supports.
On AArch64, we don't have this, so we really don't want to execute the 32-bit
logic. Stub it out for AArch64 linux-user guests.
Signed-off-by: default avatarAlexander Graf <>
Signed-off-by: default avatarJohn Rigby <>
Signed-off-by: default avatarPeter Maydell <>
Signed-off-by: default avatarPeter Maydell <>
parent 96c04212
......@@ -30,7 +30,8 @@
* return here */
const char *cpu_to_uname_machine(void *cpu_env)
#if defined(TARGET_ARM) && !defined(TARGET_AARCH64)
/* utsname machine name on linux arm is CPU arch name + endianness, e.g.
* armv7l; to get a list of CPU arch names from the linux source, use:
* grep arch_name: -A1 linux/arch/arm/mm/proc-*.S
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment