summaryrefslogtreecommitdiffstats
path: root/sys/amd64/amd64/initcpu.c
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>1998-01-03 05:35:51 +0000
committerkato <kato@FreeBSD.org>1998-01-03 05:35:51 +0000
commit359c8a3329005aac6ce349903ee843abb45a6288 (patch)
tree2bc233383f78bde00192c118278df38f10cc6816 /sys/amd64/amd64/initcpu.c
parent2fd599503d953bf818ed8e8a34812abd7ebd5a13 (diff)
downloadFreeBSD-src-359c8a3329005aac6ce349903ee843abb45a6288.zip
FreeBSD-src-359c8a3329005aac6ce349903ee843abb45a6288.tar.gz
Fix typo. Option `CPU_SUSP_HLT' didn't work on Cyrix 486DX box.
Submitted by: nyan@wyvern.cc.kogakuin.ac.jp (Takahashi Yoshihiro)
Diffstat (limited to 'sys/amd64/amd64/initcpu.c')
-rw-r--r--sys/amd64/amd64/initcpu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/amd64/amd64/initcpu.c b/sys/amd64/amd64/initcpu.c
index fb45ef9..a569d0c 100644
--- a/sys/amd64/amd64/initcpu.c
+++ b/sys/amd64/amd64/initcpu.c
@@ -26,7 +26,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: initcpu.c,v 1.9 1997/10/28 15:58:09 bde Exp $
+ * $Id: initcpu.c,v 1.10 1997/11/21 22:33:52 jlemon Exp $
*/
#include "opt_cpu.h"
@@ -153,8 +153,8 @@ init_cy486dx(void)
invd();
ccr2 = read_cyrix_reg(CCR2);
-#ifdef SUSP_HLT
- ccr2 |= CCR2_SUSP_HTL;
+#ifdef CPU_SUSP_HLT
+ ccr2 |= CCR2_SUSP_HLT;
#endif
write_cyrix_reg(CCR2, ccr2);
write_eflags(eflags);
OpenPOWER on IntegriCloud