Source-Changes-HG archive

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

[src/trunk]: src/sys/kern Back out previous -- <sys/intr.h> does provide splr...



details:   https://anonhg.NetBSD.org/src/rev/6363384926a4
branches:  trunk
changeset: 814836:6363384926a4
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Apr 11 13:52:23 2016 +0000

description:
Back out previous -- <sys/intr.h> does provide splraiseipl.

Man page says <sys/param.h>, but that's wrong.

The real problem was that rump didn't have splraiseipl at all, and
that already got fixed before I woke up this morning and panicked
because I had obviously broken all the builds!

diffstat:

 sys/kern/subr_psref.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r bd89e343b2e2 -r 6363384926a4 sys/kern/subr_psref.c
--- a/sys/kern/subr_psref.c     Mon Apr 11 13:45:20 2016 +0000
+++ b/sys/kern/subr_psref.c     Mon Apr 11 13:52:23 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: subr_psref.c,v 1.2 2016/04/11 13:18:13 riastradh Exp $ */
+/*     $NetBSD: subr_psref.c,v 1.3 2016/04/11 13:52:23 riastradh Exp $ */
 
 /*-
  * Copyright (c) 2016 The NetBSD Foundation, Inc.
@@ -64,10 +64,9 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_psref.c,v 1.2 2016/04/11 13:18:13 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_psref.c,v 1.3 2016/04/11 13:52:23 riastradh Exp $");
 
 #include <sys/types.h>
-#include <sys/param.h>
 #include <sys/condvar.h>
 #include <sys/cpu.h>
 #include <sys/intr.h>



Home | Main Index | Thread Index | Old Index