x86: convert TSC disabling to generic cpuid disable bitmap
[linux-2.6.git] / arch / x86 / kernel / numaq_32.c
index 9000d82c6dc0a784de020d1723ae75522bee9082..e65281b1634b790bd151c479fc96f3846febe87d 100644 (file)
@@ -82,7 +82,7 @@ static int __init numaq_tsc_disable(void)
 {
        if (num_online_nodes() > 1) {
                printk(KERN_DEBUG "NUMAQ: disabling TSC\n");
 {
        if (num_online_nodes() > 1) {
                printk(KERN_DEBUG "NUMAQ: disabling TSC\n");
-               tsc_disable = 1;
+               setup_clear_cpu_cap(X86_FEATURE_TSC);
        }
        return 0;
 }
        }
        return 0;
 }