qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 01/10] linux-user: fix TARGET_RLIM_INFINITY declarat


From: riku . voipio
Subject: [Qemu-devel] [PATCH 01/10] linux-user: fix TARGET_RLIM_INFINITY declaration
Date: Thu, 27 Oct 2011 15:02:47 +0300

From: Matthias Braun <address@hidden>

Signed-off-by: Matthias Braun <address@hidden>
Signed-off-by: Riku Voipio <address@hidden>
---
 linux-user/syscall_defs.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h
index 15c44d4..1bc54c7 100644
--- a/linux-user/syscall_defs.h
+++ b/linux-user/syscall_defs.h
@@ -690,7 +690,7 @@ struct target_rlimit {
 #elif defined(TARGET_MIPS) || defined(TARGET_SPARC)
 #define TARGET_RLIM_INFINITY   0x7fffffffUL
 #else
-#define TARGET_RLIM_INFINITY   ((target_ulong)~0UL)
+#define TARGET_RLIM_INFINITY   ((abi_ulong)-1)
 #endif
 
 #if defined(TARGET_MIPS)
-- 
1.7.5.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]