Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/linux/common Provide a dummy linux_sigset_t for a...



details:   https://anonhg.NetBSD.org/src/rev/039c6487bc1f
branches:  trunk
changeset: 820183:039c6487bc1f
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Jan 02 20:10:44 2017 +0000

description:
Provide a dummy linux_sigset_t for all architectures that do not have
any machdep one. This make kdump compile again.

diffstat:

 sys/compat/linux/common/linux_signal.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r d03444da019f -r 039c6487bc1f sys/compat/linux/common/linux_signal.h
--- a/sys/compat/linux/common/linux_signal.h    Mon Jan 02 20:08:32 2017 +0000
+++ b/sys/compat/linux/common/linux_signal.h    Mon Jan 02 20:10:44 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_signal.h,v 1.31 2017/01/02 16:32:10 manu Exp $   */
+/*     $NetBSD: linux_signal.h,v 1.32 2017/01/02 20:10:44 martin Exp $ */
 
 /*-
  * Copyright (c) 1995, 1998 The NetBSD Foundation, Inc.
@@ -46,6 +46,8 @@
 #include <compat/linux/arch/arm/linux_signal.h>
 #elif defined(__amd64__)
 #include <compat/linux/arch/amd64/linux_signal.h>
+#else
+typedef void linux_sigset_t;
 #endif
 
 typedef struct {



Home | Main Index | Thread Index | Old Index