- The proper test is CPU_ENABLE_SSE and not CPU_ENABLED_SSE. This

effectively disabled the sse2_pagezero() code.

Spotted by:	bde
This commit is contained in:
Jeff Roberson 2003-10-04 13:07:53 +00:00
parent c13c04a426
commit 478042909d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=120734

View file

@ -2366,7 +2366,7 @@ pagezero(void *page)
{ {
#if defined(I686_CPU) #if defined(I686_CPU)
if (cpu_class == CPUCLASS_686) { if (cpu_class == CPUCLASS_686) {
#if defined(CPU_ENABLED_SSE) #if defined(CPU_ENABLE_SSE)
if (cpu_feature & CPUID_SSE2) if (cpu_feature & CPUID_SSE2)
sse2_pagezero(page); sse2_pagezero(page);
else else