Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb Need <sys/atomic.h> for atomic_cas_uint.



details:   https://anonhg.NetBSD.org/src/rev/fce55328cc01
branches:  trunk
changeset: 797441:fce55328cc01
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Thu Jul 17 19:23:40 2014 +0000

description:
Need <sys/atomic.h> for atomic_cas_uint.

diffstat:

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

diffs (26 lines):

diff -r 250bd454059b -r fce55328cc01 sys/dev/usb/usb.c
--- a/sys/dev/usb/usb.c Thu Jul 17 18:53:34 2014 +0000
+++ b/sys/dev/usb/usb.c Thu Jul 17 19:23:40 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: usb.c,v 1.151 2014/07/17 18:53:34 riastradh Exp $      */
+/*     $NetBSD: usb.c,v 1.152 2014/07/17 19:23:40 riastradh Exp $      */
 
 /*
  * Copyright (c) 1998, 2002, 2008, 2012 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: usb.c,v 1.151 2014/07/17 18:53:34 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: usb.c,v 1.152 2014/07/17 19:23:40 riastradh Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_compat_netbsd.h"
@@ -61,6 +61,7 @@
 #include <sys/mutex.h>
 #include <sys/bus.h>
 #include <sys/once.h>
+#include <sys/atomic.h>
 
 #include <dev/usb/usb.h>
 #include <dev/usb/usbdi.h>



Home | Main Index | Thread Index | Old Index