Source-Changes-HG archive

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

[src/trunk]: src/sys/dev This uses CPU_INFO_FOREACH so it really should inclu...



details:   https://anonhg.NetBSD.org/src/rev/ade73ce8d5c5
branches:  trunk
changeset: 338765:ade73ce8d5c5
user:      matt <matt%NetBSD.org@localhost>
date:      Sun Jun 07 06:08:37 2015 +0000

description:
This uses CPU_INFO_FOREACH so it really should include <sys/cpu.h>

diffstat:

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

diffs (26 lines):

diff -r fa9045500b79 -r ade73ce8d5c5 sys/dev/lockstat.c
--- a/sys/dev/lockstat.c        Sun Jun 07 06:07:49 2015 +0000
+++ b/sys/dev/lockstat.c        Sun Jun 07 06:08:37 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lockstat.c,v 1.22 2015/03/11 16:00:54 christos Exp $   */
+/*     $NetBSD: lockstat.c,v 1.23 2015/06/07 06:08:37 matt Exp $       */
 
 /*-
  * Copyright (c) 2006, 2007 The NetBSD Foundation, Inc.
@@ -40,7 +40,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: lockstat.c,v 1.22 2015/03/11 16:00:54 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lockstat.c,v 1.23 2015/06/07 06:08:37 matt Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -50,6 +50,7 @@
 #include <sys/kernel.h>
 #include <sys/kmem.h>
 #include <sys/conf.h>
+#include <sys/cpu.h>
 #include <sys/syslog.h>
 #include <sys/atomic.h>
 



Home | Main Index | Thread Index | Old Index