Only include AMD wt_alloc routines if I586_CPU is defined. Fixes

CPU_WT_ALLOC for cyrix chips.

Submitted by:	"Brian Smith" <dbsoft@technologist.com>
This commit is contained in:
Jonathan Lemon 1999-06-24 20:08:56 +00:00
parent 81d3029772
commit 8fa445082f
2 changed files with 4 additions and 4 deletions

View File

@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* from: Id: machdep.c,v 1.193 1996/06/18 01:22:04 bde Exp
* $Id: identcpu.c,v 1.63 1999/05/29 06:57:38 phk Exp $
* $Id: identcpu.c,v 1.64 1999/06/24 03:47:54 green Exp $
*/
#include "opt_cpu.h"
@ -299,7 +299,7 @@ printcpuinfo(void)
strcat(cpu_model, "Unknown");
break;
}
#ifdef CPU_WT_ALLOC
#if defined(I586_CPU) && defined(CPU_WT_ALLOC)
if ((cpu_id & 0xf00) == 0x500) {
if (((cpu_id & 0x0f0) > 0)
&& ((cpu_id & 0x0f0) < 0x60)

View File

@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* from: Id: machdep.c,v 1.193 1996/06/18 01:22:04 bde Exp
* $Id: identcpu.c,v 1.63 1999/05/29 06:57:38 phk Exp $
* $Id: identcpu.c,v 1.64 1999/06/24 03:47:54 green Exp $
*/
#include "opt_cpu.h"
@ -299,7 +299,7 @@ printcpuinfo(void)
strcat(cpu_model, "Unknown");
break;
}
#ifdef CPU_WT_ALLOC
#if defined(I586_CPU) && defined(CPU_WT_ALLOC)
if ((cpu_id & 0xf00) == 0x500) {
if (((cpu_id & 0x0f0) > 0)
&& ((cpu_id & 0x0f0) < 0x60)