diff options
Diffstat (limited to 'sys/arch/amd64/include')
-rw-r--r-- | sys/arch/amd64/include/cpu.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/amd64/include/cpu.h b/sys/arch/amd64/include/cpu.h index c99ec07058f..2bf7a3660a4 100644 --- a/sys/arch/amd64/include/cpu.h +++ b/sys/arch/amd64/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.30 2007/05/29 06:31:44 tedu Exp $ */ +/* $OpenBSD: cpu.h,v 1.31 2007/05/29 18:53:52 deraadt Exp $ */ /* $NetBSD: cpu.h,v 1.1 2003/04/26 18:39:39 fvdl Exp $ */ /*- @@ -57,6 +57,8 @@ #include <sys/sched.h> #include <sys/sensors.h> +#ifdef _KERNEL + struct cpu_info { struct device *ci_dev; struct cpu_info *ci_self; @@ -200,6 +202,8 @@ extern struct cpu_info cpu_info_primary; #endif /* MULTIPROCESSOR */ +#endif /* _KERNEL */ + #include <machine/psl.h> #ifdef MULTIPROCESSOR |