From 3a9bcd281374fc13030a84abca6152545feb52c9 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Tue, 29 May 2007 18:53:53 +0000 Subject: take a lot more stuff out of userland namespace (sysctl cared about ksensor use); ok tedu --- sys/arch/amd64/include/cpu.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sys/arch') 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 #include +#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 #ifdef MULTIPROCESSOR -- cgit v1.2.3