Source-Changes-HG archive

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

[src/trunk]: src/sys/kern Inclide sys/atomic for atomic_store_relaxed



details:   https://anonhg.NetBSD.org/src/rev/7c0c0506394d
branches:  trunk
changeset: 466128:7c0c0506394d
user:      skrll <skrll%NetBSD.org@localhost>
date:      Fri Dec 13 07:59:36 2019 +0000

description:
Inclide sys/atomic for atomic_store_relaxed

diffstat:

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

diffs (21 lines):

diff -r ea4ecbe0a3d9 -r 7c0c0506394d sys/kern/kern_module_hook.c
--- a/sys/kern/kern_module_hook.c       Fri Dec 13 02:03:46 2019 +0000
+++ b/sys/kern/kern_module_hook.c       Fri Dec 13 07:59:36 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_module_hook.c,v 1.1 2019/12/12 22:55:20 pgoyette Exp $ */
+/*     $NetBSD: kern_module_hook.c,v 1.2 2019/12/13 07:59:36 skrll Exp $ */
 
 /*-
  * Copyright (c) 2019 The NetBSD Foundation, Inc.
@@ -31,9 +31,10 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_module_hook.c,v 1.1 2019/12/12 22:55:20 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_module_hook.c,v 1.2 2019/12/13 07:59:36 skrll Exp $");
 
 #include <sys/param.h>
+#include <sys/atomic.h>
 #include <sys/module_hook.h>
 #include <sys/mutex.h>
 #include <sys/condvar.h>



Home | Main Index | Thread Index | Old Index