diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2017-10-17 20:38:50 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2017-10-17 20:38:50 +0000 |
commit | 46c44bb65e4342f61c9c70e46c1e33a2576484af (patch) | |
tree | b4ce7ced18d4984b1e4a38888d5973ad4f50bc85 /sys/arch/amd64 | |
parent | 19ff4eeead1fce1a8359c07f439c0cd82fdc410f (diff) |
Don't do crazy bullshit when this is included by the bootblocks.
Diffstat (limited to 'sys/arch/amd64')
-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; |