]> git.proxmox.com Git - mirror_qemu.git/commitdiff
linux-user: Don't use UID16 on AArch64
authorAndreas Schwab <schwab@suse.de>
Sun, 2 Mar 2014 19:36:40 +0000 (19:36 +0000)
committerRiku Voipio <riku.voipio@linaro.org>
Mon, 3 Mar 2014 21:03:25 +0000 (23:03 +0200)
The AArch64 kernel defines its __kernel_uid_t type as 32 bits, unlike
32 bit ARM, so don't enable our 16-bit UID wrapper handling.

Signed-off-by: Andreas Schwab <schwab@suse.de>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
linux-user/syscall_defs.h

index 3c8869e073a41a5a321f8cabe6c53e83d5a50c02..d55f396c9e82e7eee863c20d9288f33310bb6788 100644 (file)
@@ -53,7 +53,8 @@
 #define TARGET_IOC_NRBITS      8
 #define TARGET_IOC_TYPEBITS    8
 
-#if defined(TARGET_I386) || defined(TARGET_ARM) || defined(TARGET_SPARC) \
+#if defined(TARGET_I386) || (defined(TARGET_ARM) && defined(TARGET_ABI32)) \
+    || defined(TARGET_SPARC) \
     || defined(TARGET_M68K) || defined(TARGET_SH4) || defined(TARGET_CRIS)
     /* 16 bit uid wrappers emulation */
 #define USE_UID16