Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Include <sys/atomic.h> for membar_producer.



details:   https://anonhg.NetBSD.org/src/rev/7d421af52f6f
branches:  trunk
changeset: 336332:7d421af52f6f
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Thu Feb 26 00:58:17 2015 +0000

description:
Include <sys/atomic.h> for membar_producer.

(Why didn't this fail in my build?)

diffstat:

 sys/dev/pci/agp_i810.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r fadef7c0b9df -r 7d421af52f6f sys/dev/pci/agp_i810.c
--- a/sys/dev/pci/agp_i810.c    Thu Feb 26 00:42:10 2015 +0000
+++ b/sys/dev/pci/agp_i810.c    Thu Feb 26 00:58:17 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: agp_i810.c,v 1.115 2015/02/26 00:42:10 riastradh Exp $ */
+/*     $NetBSD: agp_i810.c,v 1.116 2015/02/26 00:58:17 riastradh Exp $ */
 
 /*-
  * Copyright (c) 2000 Doug Rabson
@@ -30,10 +30,11 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: agp_i810.c,v 1.115 2015/02/26 00:42:10 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: agp_i810.c,v 1.116 2015/02/26 00:58:17 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
+#include <sys/atomic.h>
 #include <sys/malloc.h>
 #include <sys/kernel.h>
 #include <sys/proc.h>



Home | Main Index | Thread Index | Old Index