Source-Changes-HG archive

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

[src/trunk]: src/sys/kern Some platforms need sys/cpu.h for curlwp so #includ...



details:   https://anonhg.NetBSD.org/src/rev/61d30329aa70
branches:  trunk
changeset: 1023883:61d30329aa70
user:      skrll <skrll%NetBSD.org@localhost>
date:      Thu Sep 30 07:15:02 2021 +0000

description:
Some platforms need sys/cpu.h for curlwp so #include it

diffstat:

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

diffs (22 lines):

diff -r d82516979ffa -r 61d30329aa70 sys/kern/kern_hook.c
--- a/sys/kern/kern_hook.c      Thu Sep 30 07:14:09 2021 +0000
+++ b/sys/kern/kern_hook.c      Thu Sep 30 07:15:02 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_hook.c,v 1.10 2021/09/30 07:14:09 skrll Exp $     */
+/*     $NetBSD: kern_hook.c,v 1.11 2021/09/30 07:15:02 skrll Exp $     */
 
 /*-
  * Copyright (c) 1997, 1998, 1999, 2002, 2007, 2008 The NetBSD Foundation, Inc.
@@ -31,10 +31,11 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_hook.c,v 1.10 2021/09/30 07:14:09 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_hook.c,v 1.11 2021/09/30 07:15:02 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/condvar.h>
+#include <sys/cpu.h>
 #include <sys/device.h>
 #include <sys/hook.h>
 #include <sys/kmem.h>



Home | Main Index | Thread Index | Old Index