]> git.proxmox.com Git - mirror_qemu.git/commitdiff
linux-user: x86_64: Don't use 16-bit UIDs
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 1 Mar 2016 16:25:17 +0000 (16:25 +0000)
committerRiku Voipio <riku.voipio@linaro.org>
Fri, 27 May 2016 11:50:39 +0000 (14:50 +0300)
The 64-bit x86 syscall ABI uses 32-bit UIDs; only define
USE_UID16 for 32-bit x86.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
linux-user/syscall_defs.h

index 9e2b3c200ab91ba59da80958f70d90bf0f037540..34af15a6830575fec8abec33ebb7b14cedaaed99 100644 (file)
@@ -55,7 +55,8 @@
 #define TARGET_IOC_NRBITS      8
 #define TARGET_IOC_TYPEBITS    8
 
-#if defined(TARGET_I386) || (defined(TARGET_ARM) && defined(TARGET_ABI32)) \
+#if (defined(TARGET_I386) && defined(TARGET_ABI32)) \
+    || (defined(TARGET_ARM) && defined(TARGET_ABI32)) \
     || defined(TARGET_SPARC) \
     || defined(TARGET_M68K) || defined(TARGET_SH4) || defined(TARGET_CRIS)
     /* 16 bit uid wrappers emulation */