]> Git Repo - qemu.git/commitdiff
Use mmap() within code_gen_alloc() for OpenBSD.
authorBrad <[email protected]>
Tue, 21 Dec 2010 02:25:40 +0000 (21:25 -0500)
committerBlue Swirl <[email protected]>
Tue, 21 Dec 2010 19:44:54 +0000 (19:44 +0000)
Signed-off-by: Brad Smith <[email protected]>
Signed-off-by: Blue Swirl <[email protected]>
exec.c

diff --git a/exec.c b/exec.c
index a3384958c739c5804eaab76ca8a9a7a80e02e204..49c28b160e0f76698348d65e16206d8b0a9f8066 100644 (file)
--- a/exec.c
+++ b/exec.c
@@ -517,7 +517,8 @@ static void code_gen_alloc(unsigned long tb_size)
             exit(1);
         }
     }
-#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__)
+#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) \
+    || defined(__DragonFly__) || defined(__OpenBSD__)
     {
         int flags;
         void *addr = NULL;
This page took 0.030453 seconds and 4 git commands to generate.