Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/ia64/ia64 Need <sys/atomic.h> for atomic_inc_64.



details:   https://anonhg.NetBSD.org/src/rev/c70a0f04f54e
branches:  trunk
changeset: 461571:c70a0f04f54e
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sat Nov 30 16:23:46 2019 +0000

description:
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:

 sys/arch/ia64/ia64/pmap.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r d84442e70d49 -r c70a0f04f54e sys/arch/ia64/ia64/pmap.c
--- a/sys/arch/ia64/ia64/pmap.c Sat Nov 30 15:53:36 2019 +0000
+++ b/sys/arch/ia64/ia64/pmap.c Sat Nov 30 16:23:46 2019 +0000
@@ -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>



Home | Main Index | Thread Index | Old Index