summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorriastradh <riastradh@NetBSD.org>2019-11-30 16:23:46 +0000
committerriastradh <riastradh@NetBSD.org>2019-11-30 16:23:46 +0000
commit4e8cd322f9559649cd40c1c5bab8a2143aa66a6a (patch)
treed552b26fcb34b5f5e37820b493ca0d7ea8bc5e81 /sys
parent2588ce10b0cd663fa6a063a7be693b6977174461 (diff)
Need <sys/atomic.h> for atomic_inc_64.
Emptying out <machine/rwlock.h> had the side effect of removing an implied #include <sys/atomic.h>.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/ia64/ia64/pmap.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/ia64/ia64/pmap.c b/sys/arch/ia64/ia64/pmap.c
index da5426192a2..f6126a76693 100644
--- a/sys/arch/ia64/ia64/pmap.c
+++ b/sys/arch/ia64/ia64/pmap.c
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.38 2019/05/09 15:48:55 scole Exp $ */
+/* $NetBSD: pmap.c,v 1.39 2019/11/30 16:23:46 riastradh Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
@@ -81,9 +81,10 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.38 2019/05/09 15:48:55 scole Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.39 2019/11/30 16:23:46 riastradh Exp $");
#include <sys/param.h>
+#include <sys/atomic.h>
#include <sys/systm.h>
#include <sys/buf.h>
#include <sys/reboot.h>