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:
parent
81d3029772
commit
8fa445082f
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user