We need <compat/sys/signal.h> and <compat/sys/signalvar.h> here

for native_sigset13_to_sigset, sigset13_t, and sigvec.
The includes in sparc's machdep.c is conditional on COMPAT_13, as is
the use of native_sigset13_to_sigset.
This commit is contained in:
he 2005-09-14 15:03:50 +00:00
parent acd01ac82f
commit 1d4573eec9
5 changed files with 27 additions and 10 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: compat_13_machdep.c,v 1.9 2004/04/15 21:07:07 matt Exp $ */
/* $NetBSD: compat_13_machdep.c,v 1.10 2005/09/14 15:03:50 he Exp $ */
/*
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: compat_13_machdep.c,v 1.9 2004/04/15 21:07:07 matt Exp $");
__KERNEL_RCSID(0, "$NetBSD: compat_13_machdep.c,v 1.10 2005/09/14 15:03:50 he Exp $");
#include "opt_ppcarch.h"
@ -46,6 +46,9 @@ __KERNEL_RCSID(0, "$NetBSD: compat_13_machdep.c,v 1.9 2004/04/15 21:07:07 matt E
#include <sys/sa.h>
#include <sys/syscallargs.h>
#include <compat/sys/signal.h>
#include <compat/sys/signalvar.h>
int
compat_13_sys_sigreturn(struct lwp *l, void *v, register_t *retval)
{

View File

@ -1,4 +1,4 @@
/* $NetBSD: compat_16_machdep.c,v 1.4 2004/04/15 21:07:07 matt Exp $ */
/* $NetBSD: compat_16_machdep.c,v 1.5 2005/09/14 15:03:50 he Exp $ */
/*
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: compat_16_machdep.c,v 1.4 2004/04/15 21:07:07 matt Exp $");
__KERNEL_RCSID(0, "$NetBSD: compat_16_machdep.c,v 1.5 2005/09/14 15:03:50 he Exp $");
#include "opt_compat_netbsd.h"
#include "opt_altivec.h"
@ -48,6 +48,9 @@ __KERNEL_RCSID(0, "$NetBSD: compat_16_machdep.c,v 1.4 2004/04/15 21:07:07 matt E
#include <sys/ucontext.h>
#include <sys/user.h>
#include <compat/sys/signal.h>
#include <compat/sys/signalvar.h>
#include <machine/fpu.h>
/*

View File

@ -1,4 +1,4 @@
/* $NetBSD: compat_13_machdep.c,v 1.4 2003/07/15 00:05:02 lukem Exp $ */
/* $NetBSD: compat_13_machdep.c,v 1.5 2005/09/14 15:03:50 he Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@ -38,7 +38,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: compat_13_machdep.c,v 1.4 2003/07/15 00:05:02 lukem Exp $");
__KERNEL_RCSID(0, "$NetBSD: compat_13_machdep.c,v 1.5 2005/09/14 15:03:50 he Exp $");
#include "opt_compat_netbsd.h"
@ -51,6 +51,9 @@ __KERNEL_RCSID(0, "$NetBSD: compat_13_machdep.c,v 1.4 2003/07/15 00:05:02 lukem
#include <sys/signal.h>
#include <sys/signalvar.h>
#include <compat/sys/signal.h>
#include <compat/sys/signalvar.h>
#include <sys/sa.h>
#include <sys/syscallargs.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.257 2005/06/16 04:17:49 briggs Exp $ */
/* $NetBSD: machdep.c,v 1.258 2005/09/14 15:03:50 he Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@ -78,7 +78,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.257 2005/06/16 04:17:49 briggs Exp $");
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.258 2005/09/14 15:03:50 he Exp $");
#include "opt_compat_netbsd.h"
#include "opt_compat_sunos.h"
@ -112,6 +112,11 @@ __KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.257 2005/06/16 04:17:49 briggs Exp $")
#include <sys/sysctl.h>
#ifdef COMPAT_13
#include <compat/sys/signal.h>
#include <compat/sys/signalvar.h>
#endif
#define _SPARC_BUS_DMA_PRIVATE
#include <machine/autoconf.h>
#include <machine/bus.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: sunos_machdep.c,v 1.14 2003/10/05 21:13:23 pk Exp $ */
/* $NetBSD: sunos_machdep.c,v 1.15 2005/09/14 15:03:50 he Exp $ */
/*
* Copyright (c) 1995 Matthew R. Green
@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: sunos_machdep.c,v 1.14 2003/10/05 21:13:23 pk Exp $");
__KERNEL_RCSID(0, "$NetBSD: sunos_machdep.c,v 1.15 2005/09/14 15:03:50 he Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_netbsd.h"
@ -44,6 +44,9 @@ __KERNEL_RCSID(0, "$NetBSD: sunos_machdep.c,v 1.14 2003/10/05 21:13:23 pk Exp $"
#include <sys/signal.h>
#include <sys/signalvar.h>
#include <compat/sys/signal.h>
#include <compat/sys/signalvar.h>
#include <sys/sa.h>
#include <sys/syscallargs.h>
#include <compat/sunos/sunos.h>