]> err.no Git - linux-2.6/blobdiff - arch/x86/kernel/tsc_64.c
x86: allow TSC clock source on AMD Fam10h and some cleanup
[linux-2.6] / arch / x86 / kernel / tsc_64.c
index 2cc55b726c224f3f40930f8125389fa43b26aa86..322b38c6819856fe6c1054644210eb1bfa6e4cbb 100644 (file)
@@ -272,9 +272,8 @@ __cpuinit int unsynchronized_tsc(void)
        if (apic_is_clustered_box())
                return 1;
 #endif
-       /* Most intel systems have synchronized TSCs except for
-          multi node systems */
-       if (boot_cpu_data.x86_vendor == X86_VENDOR_INTEL) {
+
+       if (boot_cpu_has(X86_FEATURE_CONSTANT_TSC)) {
 #ifdef CONFIG_ACPI
                /* But TSC doesn't tick in C3 so don't use it there */
                if (acpi_gbl_FADT.header.length > 0 &&