Module Name:    src
Committed By:   pgoyette
Date:           Mon Sep 24 23:38:00 UTC 2018

Modified Files:
        src/sys/arch/amd64/amd64 [pgoyette-compat]: netbsd32_machdep.c

Log Message:
Make the netbsd32_sendsig_siginfo() routine return an int, to conform
to the MP-safe HOOKs mechanism.


To generate a diff of this commit:
cvs rdiff -u -r1.115.2.5 -r1.115.2.6 \
    src/sys/arch/amd64/amd64/netbsd32_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/amd64/amd64/netbsd32_machdep.c
diff -u src/sys/arch/amd64/amd64/netbsd32_machdep.c:1.115.2.5 src/sys/arch/amd64/amd64/netbsd32_machdep.c:1.115.2.6
--- src/sys/arch/amd64/amd64/netbsd32_machdep.c:1.115.2.5	Mon Sep 24 23:25:24 2018
+++ src/sys/arch/amd64/amd64/netbsd32_machdep.c	Mon Sep 24 23:37:59 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: netbsd32_machdep.c,v 1.115.2.5 2018/09/24 23:25:24 pgoyette Exp $	*/
+/*	$NetBSD: netbsd32_machdep.c,v 1.115.2.6 2018/09/24 23:37:59 pgoyette Exp $	*/
 
 /*
  * Copyright (c) 2001 Wasabi Systems, Inc.
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_machdep.c,v 1.115.2.5 2018/09/24 23:25:24 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_machdep.c,v 1.115.2.6 2018/09/24 23:37:59 pgoyette Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_compat_netbsd.h"
@@ -202,7 +202,7 @@ netbsd32_buildcontext(struct lwp *l, str
 	}
 }
 
-void
+int
 netbsd32_sendsig_siginfo(const ksiginfo_t *ksi, const sigset_t *mask)
 {
 	struct lwp *l = curlwp;
@@ -268,6 +268,8 @@ netbsd32_sendsig_siginfo(const ksiginfo_
 	}
 
 	netbsd32_buildcontext(l, tf, fp, catcher, onstack);
+
+	return 0;
 }
 
 MODULE_CALL_HOOK_DECL(netbsd32_sendsig_hook, f,

Reply via email to