Source-Changes-HG archive

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

[src/trunk]: src/sys/kern Correction: we do need <sys/atomic.h>, for membar_*.



details:   https://anonhg.NetBSD.org/src/rev/2ccfbb511665
branches:  trunk
changeset: 337606:2ccfbb511665
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Tue Apr 21 03:46:46 2015 +0000

description:
Correction: we do need <sys/atomic.h>, for membar_*.

(Not clear that these membars actually make sense, but that's a
separate issue.)

diffstat:

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

diffs (21 lines):

diff -r a7fe7f9ed017 -r 2ccfbb511665 sys/kern/kern_rndq.c
--- a/sys/kern/kern_rndq.c      Tue Apr 21 03:30:06 2015 +0000
+++ b/sys/kern/kern_rndq.c      Tue Apr 21 03:46:46 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_rndq.c,v 1.66 2015/04/21 03:29:27 riastradh Exp $ */
+/*     $NetBSD: kern_rndq.c,v 1.67 2015/04/21 03:46:46 riastradh Exp $ */
 
 /*-
  * Copyright (c) 1997-2013 The NetBSD Foundation, Inc.
@@ -32,9 +32,10 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_rndq.c,v 1.66 2015/04/21 03:29:27 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_rndq.c,v 1.67 2015/04/21 03:46:46 riastradh Exp $");
 
 #include <sys/param.h>
+#include <sys/atomic.h>
 #include <sys/callout.h>
 #include <sys/fcntl.h>
 #include <sys/intr.h>



Home | Main Index | Thread Index | Old Index