# HG changeset patch # User Igor Sysoev # Date 1201589927 0 # Node ID 9afb84c7cc61f555901303750c026bac0767ebdb # Parent a62fb6c156c591b0297285834ed505f4faa5306a fix cache line size for Pentium 4 diff --git a/src/core/ngx_cpuinfo.c b/src/core/ngx_cpuinfo.c --- a/src/core/ngx_cpuinfo.c +++ b/src/core/ngx_cpuinfo.c @@ -92,7 +92,7 @@ ngx_cpuinfo(void) if (ngx_strcmp(vendor, "GenuineIntel") == 0) { - switch (cpu[0] & 0xf00) { + switch ((cpu[0] & 0xf00) >> 8) { /* Pentium */ case 5: