Path: blob/master/build/pkgs/atlas/patches/archinfo_linux.c.patch
8818 views
--- src/CONFIG/src/backend/archinfo_linux.c 2012-06-23 17:27:27.000000000 +01001+++ new/CONFIG/src/backend/archinfo_linux.c 2012-06-24 03:17:47.297954105 +01002@@ -117,7 +117,7 @@3}4break;5case AFIA64:6- res = atlsys_1L(NULL, "fgrep 'Itanium' /proc/cpuinfo", 0, 0);7+ res = atlsys_1L(NULL, "fgrep 'IA-64' /proc/cpuinfo", 0, 0);8if (res && res[0] == '\0')9{10free(res);11@@ -129,7 +129,7 @@12{13if (res[0] != '\0')14{15- if (strstr(res, "Itanium 2") || strstr(res, "McKinley"))16+ if (strstr(res, "IA-64") || strstr(res, "McKinley"))17mach = IA64Itan2;18else if (strstr(res, "Itanium")) mach = IA64Itan;19}202122