need linux_syscallargs.h to compile, and remove inline function.

This commit is contained in:
christos 2005-09-13 22:08:21 +00:00
parent afffbeb330
commit ff66f5797e

View File

@ -1,4 +1,4 @@
/* $NetBSD: linux_machdep.c,v 1.15 2005/05/20 12:48:27 fvdl Exp $ */
/* $NetBSD: linux_machdep.c,v 1.16 2005/09/13 22:08:21 christos Exp $ */
/*-
* Copyright (c) 1995, 2000 The NetBSD Foundation, Inc.
@ -38,7 +38,7 @@
#include <sys/param.h>
__KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.15 2005/05/20 12:48:27 fvdl Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.16 2005/09/13 22:08:21 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -73,7 +73,6 @@ __KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.15 2005/05/20 12:48:27 fvdl Exp
#include <compat/linux/common/linux_hdio.h>
#include <compat/linux/common/linux_exec.h>
#include <compat/linux/common/linux_machdep.h>
#include <compat/linux/linux_syscallargs.h>
void
@ -86,13 +85,6 @@ linux_setregs(l, epp, stack)
setregs(l, epp, stack);
}
static __inline struct trapframe *
process_frame(struct lwp *l)
{
return l->l_addr->u_pcb.pcb_tf;
}
void
linux_sendsig(const ksiginfo_t *ksi, const sigset_t *mask)
{