diff options
author | 2017-10-17 20:38:49 +0000 | |
---|---|---|
committer | 2017-10-17 20:38:49 +0000 | |
commit | f9b85086fdcf7f91d37c160ac89cf35984f67ba9 (patch) | |
tree | 81ea51c5d4cb09298748951793474ec2a1576b17 | |
parent | remove the remaining references to .depend files since nothing creates them (diff) | |
download | wireguard-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.h | 4 |
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; |