[PULL,v2,02/14] linux-user: drop __cygwin__ ifdef

Message ID 20170216143816.2384-3-laurent@vivier.eu
State New
Headers show
Series
  • [PULL,v2,01/14] linux-user: remove ifdef __USER_MISC
Related show

Commit Message

Laurent Vivier Feb. 16, 2017, 2:38 p.m.
From: Riku Voipio <riku.voipio@linaro.org>


linux-user doesn't work on cygwin anyways.

Cc: Richard Henderson <rth@twiddle.net>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>

---
 linux-user/mmap.c | 3 ---
 1 file changed, 3 deletions(-)

-- 
2.9.3

Patch hide | download patch | download mbox

diff --git a/linux-user/mmap.c b/linux-user/mmap.c
index 61685bf..4ed9cad 100644
--- a/linux-user/mmap.c
+++ b/linux-user/mmap.c
@@ -193,9 +193,6 @@  static int mmap_frag(abi_ulong real_start,
 
 #if HOST_LONG_BITS == 64 && TARGET_ABI_BITS == 64
 # define TASK_UNMAPPED_BASE  (1ul << 38)
-#elif defined(__CYGWIN__)
-/* Cygwin doesn't have a whole lot of address space.  */
-# define TASK_UNMAPPED_BASE  0x18000000
 #else
 # define TASK_UNMAPPED_BASE  0x40000000
 #endif