summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2017-10-17 20:38:49 +0000
committerderaadt <deraadt@openbsd.org>2017-10-17 20:38:49 +0000
commitf9b85086fdcf7f91d37c160ac89cf35984f67ba9 (patch)
tree81ea51c5d4cb09298748951793474ec2a1576b17
parentremove the remaining references to .depend files since nothing creates them (diff)
downloadwireguard-openbsd-f9b85086fdcf7f91d37c160ac89cf35984f67ba9.tar.xz
wireguard-openbsd-f9b85086fdcf7f91d37c160ac89cf35984f67ba9.zip
Don't do crazy bullshit when this is included by the bootblocks.
-rw-r--r--sys/arch/amd64/include/cpufunc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/include/cpufunc.h b/sys/arch/amd64/include/cpufunc.h
index cb569d4afc2..427a337a7dc 100644
--- a/sys/arch/amd64/include/cpufunc.h
+++ b/sys/arch/amd64/include/cpufunc.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpufunc.h,v 1.20 2017/08/08 15:53:55 visa Exp $ */
+/* $OpenBSD: cpufunc.h,v 1.21 2017/10/17 20:38:49 deraadt Exp $ */
/* $NetBSD: cpufunc.h,v 1.3 2003/05/08 10:27:43 fvdl Exp $ */
/*-
@@ -41,7 +41,7 @@
#include <machine/specialreg.h>
-#ifdef _KERNEL
+#if defined(_KERNEL) && !defined (_STANDALONE)
extern int cpu_feature;