Messages in this thread |  | | From | "Ulrich Windl" <> | Date | Mon, 9 Oct 2000 13:09:13 +0200 | Subject | 2.2.17: CPU features bug for AMD? |
| |
Browsing patch-2.2.17.gz I found this: linux/arch/i386/kernel/setup.c: Isn't here an "else" or "break" missing? Otherwise ``x86_cap_flags[16] = "pat"'' is always the case, and extended AMD features are always present. @@ -1029,17 +1130,22 @@ case X86_VENDOR_AMD: if (c->x86 == 5 && c->x86_model == 6) x86_cap_flags[10] = "sep"; - x86_cap_flags[16] = "fcmov"; + if (c->x86 < 6) + x86_cap_flags[16] = "fcmov"; + x86_cap_flags[16] = "pat"; + x86_cap_flags[22] = "mmxext"; + x86_cap_flags[24] = "fxsr"; + x86_cap_flags[30] = "3dnowext"; x86_cap_flags[31] = "3dnow"; break;
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |