Remove LINUX_SI_xxx from MI siginfo.h, that should not have been

committed. Rather add them to amd64 MD header.
Fix compilation failures on non x86 archs.
This commit is contained in:
njoly 2008-10-21 20:24:15 +00:00
parent 736e9962f0
commit beff3f7516
2 changed files with 15 additions and 12 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: linux_siginfo.h,v 1.2 2005/12/11 12:20:14 christos Exp $ */
/* $NetBSD: linux_siginfo.h,v 1.3 2008/10/21 20:24:15 njoly Exp $ */
/*-
* Copyright (c) 2005 Emmanuel Dreyfus, all rights reserved.
@ -83,4 +83,17 @@ struct linux_siginfo {
} _sifields;
} linux_siginfo_t;
/*
* si_code values for non-signals
*/
#define LINUX_SI_USER 0
#define LINUX_SI_KERNEL 0x80
#define LINUX_SI_QUEUE -1
#define LINUX_SI_TIMER -2
#define LINUX_SI_MESGQ -3
#define LINUX_SI_ASYNCIO -4
#define LINUX_SI_SIGIO -5
#define LINUX_SI_TKILL -6
#define LINUX_SI_DETHREAD -7
#endif /* !_AMD64_LINUX_SIGINFO_H */

View File

@ -1,4 +1,4 @@
/* $NetBSD: linux_siginfo.h,v 1.12 2008/10/19 09:44:31 njoly Exp $ */
/* $NetBSD: linux_siginfo.h,v 1.13 2008/10/21 20:24:15 njoly Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -48,16 +48,6 @@
#include <compat/linux/arch/amd64/linux_siginfo.h>
#endif
/* si_code values */
#define LINUX_SI_USER 0
#define LINUX_SI_QUEUE -1
#define LINUX_SI_TIMER -2
#define LINUX_SI_MESGQ -3
#define LINUX_SI_ASYNCIO -4
#define LINUX_SI_SIGIO -5
#define LINUX_SI_TKILL -6
#define LINUX_SI_DETHREAD -7
/* From linux/include/asm-generic/siginfo.h */
#define LINUX_CLD_EXITED 1
#define LINUX_CLD_KILLED 2