mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-18 22:33:39 +00:00
- 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:
parent
c13c04a426
commit
478042909d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=120734
|
@ -2366,7 +2366,7 @@ pagezero(void *page)
|
|||
{
|
||||
#if defined(I686_CPU)
|
||||
if (cpu_class == CPUCLASS_686) {
|
||||
#if defined(CPU_ENABLED_SSE)
|
||||
#if defined(CPU_ENABLE_SSE)
|
||||
if (cpu_feature & CPUID_SSE2)
|
||||
sse2_pagezero(page);
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue