Module Name: src Committed By: skrll Date: Thu Sep 30 07:15:02 UTC 2021
Modified Files: src/sys/kern: kern_hook.c Log Message: Some platforms need sys/cpu.h for curlwp so #include it To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/kern/kern_hook.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/kern/kern_hook.c diff -u src/sys/kern/kern_hook.c:1.10 src/sys/kern/kern_hook.c:1.11 --- src/sys/kern/kern_hook.c:1.10 Thu Sep 30 07:14:09 2021 +++ src/sys/kern/kern_hook.c Thu Sep 30 07:15:02 2021 @@ -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>