diff options
| author | ad <ad@NetBSD.org> | 2008-01-04 21:17:40 +0000 |
|---|---|---|
| committer | ad <ad@NetBSD.org> | 2008-01-04 21:17:40 +0000 |
| commit | 0664a0459bf6ef4342e31b3bf0327a7bc3997776 (patch) | |
| tree | b48e347640c1fc0918c24ded9444d55a24a31878 /sys/dev/lockstat.c | |
| parent | 46a018d0e2a929dda153017a300c25e2e4c045c5 (diff) | |
Start detangling lock.h from intr.h. This is likely to cause short term
breakage, but the mess of dependencies has been regularly breaking the
build recently anyhow.
Diffstat (limited to 'sys/dev/lockstat.c')
| -rw-r--r-- | sys/dev/lockstat.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/lockstat.c b/sys/dev/lockstat.c index d00195f0def..dd7a385215a 100644 --- a/sys/dev/lockstat.c +++ b/sys/dev/lockstat.c @@ -1,4 +1,4 @@ -/* $NetBSD: lockstat.c,v 1.12 2007/12/20 21:09:00 ad Exp $ */ +/* $NetBSD: lockstat.c,v 1.13 2008/01/04 21:17:48 ad Exp $ */ /*- * Copyright (c) 2006, 2007 The NetBSD Foundation, Inc. @@ -47,11 +47,10 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: lockstat.c,v 1.12 2007/12/20 21:09:00 ad Exp $"); +__KERNEL_RCSID(0, "$NetBSD: lockstat.c,v 1.13 2008/01/04 21:17:48 ad Exp $"); #include <sys/types.h> #include <sys/param.h> -#include <sys/lock.h> #include <sys/proc.h> #include <sys/resourcevar.h> #include <sys/systm.h> @@ -63,6 +62,8 @@ __KERNEL_RCSID(0, "$NetBSD: lockstat.c,v 1.12 2007/12/20 21:09:00 ad Exp $"); #include <dev/lockstat.h> +#include <machine/lock.h> + #ifndef __HAVE_CPU_COUNTER #error CPU counters not available #endif |
