summaryrefslogtreecommitdiff
path: root/rts
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2008-11-19 14:54:29 +0000
committerSimon Marlow <marlowsd@gmail.com>2008-11-19 14:54:29 +0000
commitdab5dd18ebd4205f5019826c06e67373def11aeb (patch)
treea35f3c877da10d0d7c47fe2329d8c8fd332d17cc /rts
parentb15b4a179922b1d9fe34c33ee15a25d515d56367 (diff)
downloadhaskell-dab5dd18ebd4205f5019826c06e67373def11aeb.tar.gz
Fix 32-bit breakage
Diffstat (limited to 'rts')
-rw-r--r--rts/Linker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/Linker.c b/rts/Linker.c
index 67a510b965..84c69cbf4c 100644
--- a/rts/Linker.c
+++ b/rts/Linker.c
@@ -1300,9 +1300,9 @@ mmapForLinker (size_t bytes, nat flags, int fd)
void *map_addr = NULL;
void *result;
+#if defined(x86_64_HOST_ARCH)
mmap_again:
-#if defined(x86_64_HOST_ARCH)
if (mmap_32bit_base != 0) {
map_addr = mmap_32bit_base;
}