From 1ba2a5431339a0c2bf6514bfbdd65f18da8f3abb Mon Sep 17 00:00:00 2001 From: KATO Takenori Date: Sat, 3 Jan 1998 05:35:51 +0000 Subject: [PATCH] Fix typo. Option `CPU_SUSP_HLT' didn't work on Cyrix 486DX box. Submitted by: nyan@wyvern.cc.kogakuin.ac.jp (Takahashi Yoshihiro) --- sys/amd64/amd64/initcpu.c | 6 +++--- sys/i386/i386/initcpu.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sys/amd64/amd64/initcpu.c b/sys/amd64/amd64/initcpu.c index fb45ef9d2b3..a569d0c5793 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); diff --git a/sys/i386/i386/initcpu.c b/sys/i386/i386/initcpu.c index fb45ef9d2b3..a569d0c5793 100644 --- a/sys/i386/i386/initcpu.c +++ b/sys/i386/i386/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);