Be sure to not include linux_mmap.h before linux_syscallargs.h.
Otherwise wrong syscallarg macro may used for linux_sys_mmap_args definition. This makes mmap2 works again (at least to launch oo2 binary).
This commit is contained in:
parent
2003399300
commit
2467d28cba
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: linux32_mman.c,v 1.6 2007/12/20 23:02:58 dsl Exp $ */
|
/* $NetBSD: linux32_mman.c,v 1.7 2008/03/27 14:14:06 njoly Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2006 Emmanuel Dreyfus, all rights reserved.
|
* Copyright (c) 2006 Emmanuel Dreyfus, all rights reserved.
|
||||||
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
|
|
||||||
__KERNEL_RCSID(0, "$NetBSD: linux32_mman.c,v 1.6 2007/12/20 23:02:58 dsl Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: linux32_mman.c,v 1.7 2008/03/27 14:14:06 njoly Exp $");
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
@ -59,9 +59,9 @@ __KERNEL_RCSID(0, "$NetBSD: linux32_mman.c,v 1.6 2007/12/20 23:02:58 dsl Exp $")
|
|||||||
#include <compat/linux/common/linux_signal.h>
|
#include <compat/linux/common/linux_signal.h>
|
||||||
#include <compat/linux/common/linux_machdep.h>
|
#include <compat/linux/common/linux_machdep.h>
|
||||||
#include <compat/linux/common/linux_misc.h>
|
#include <compat/linux/common/linux_misc.h>
|
||||||
#include <compat/linux/common/linux_mmap.h>
|
|
||||||
#include <compat/linux/common/linux_oldolduname.h>
|
#include <compat/linux/common/linux_oldolduname.h>
|
||||||
#include <compat/linux/linux_syscallargs.h>
|
#include <compat/linux/linux_syscallargs.h>
|
||||||
|
#include <compat/linux/common/linux_mmap.h>
|
||||||
|
|
||||||
#include <compat/linux32/common/linux32_types.h>
|
#include <compat/linux32/common/linux32_types.h>
|
||||||
#include <compat/linux32/common/linux32_signal.h>
|
#include <compat/linux32/common/linux32_signal.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user