mirror of
https://github.com/nginx/nginx.git
synced 2025-06-17 17:20:42 +08:00
fix cache line size for Pentium 4
This commit is contained in:
parent
6e8bc2b72d
commit
442d1e63f2
@ -92,7 +92,7 @@ ngx_cpuinfo(void)
|
|||||||
|
|
||||||
if (ngx_strcmp(vendor, "GenuineIntel") == 0) {
|
if (ngx_strcmp(vendor, "GenuineIntel") == 0) {
|
||||||
|
|
||||||
switch (cpu[0] & 0xf00) {
|
switch ((cpu[0] & 0xf00) >> 8) {
|
||||||
|
|
||||||
/* Pentium */
|
/* Pentium */
|
||||||
case 5:
|
case 5:
|
||||||
|
Loading…
Reference in New Issue
Block a user