]> err.no Git - linux-2.6/blobdiff - drivers/acpi/processor_idle.c
Merge master.kernel.org:/pub/scm/linux/kernel/git/herbert/crypto-2.6
[linux-2.6] / drivers / acpi / processor_idle.c
index 74173ce6aaf47137f130f4629fb0b9ffaca1fcd9..8a74bf3efd8eec821e3487fcbb835f3121fecf2d 100644 (file)
@@ -369,6 +369,11 @@ static void acpi_processor_idle(void)
                t2 = inl(acpi_fadt.xpm_tmr_blk.address);
                /* Get end time (ticks) */
                t2 = inl(acpi_fadt.xpm_tmr_blk.address);
+
+#ifdef CONFIG_GENERIC_TIME
+               /* TSC halts in C2, so notify users */
+               mark_tsc_unstable();
+#endif
                /* Re-enable interrupts */
                local_irq_enable();
                current_thread_info()->status |= TS_POLLING;
@@ -409,6 +414,10 @@ static void acpi_processor_idle(void)
                                          ACPI_MTX_DO_NOT_LOCK);
                }
 
+#ifdef CONFIG_GENERIC_TIME
+               /* TSC halts in C3, so notify users */
+               mark_tsc_unstable();
+#endif
                /* Re-enable interrupts */
                local_irq_enable();
                current_thread_info()->status |= TS_POLLING;