#Patch900: linux-2.6-900-ext3_mount_default_to_barrier.patch
#Patch910: linux-2.6-910-support_barriers_on_single_device_dm_devices.patch
+# ACPI: Idle C-states disabled by max_cstate should not disable the TSC
+Patch920: linux-2.6-920-cstate.patch
+
BuildRoot: %{_tmppath}/kernel-%{KVERREL}-root
%description
%ApplyPatch 910
%endif
+%ApplyPatch 920
+
# NetNS conflict-resolving patch for VINI. Will work with patch vini_pl_patch-1 but may
# break with later patches.
--- /dev/null
+commit 15241406018b861ea4441786cb5f424c9e308034
+Author: S.Çağlar Onur <caglar@cs.princeton.edu>
+Date: Thu Nov 18 16:25:37 2010 -0500
+
+ ACPI: Idle C-states disabled by max_cstate should not disable the TSC
+
+diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c
+index 94483a2..5812380 100644
+--- a/drivers/acpi/processor_idle.c
++++ b/drivers/acpi/processor_idle.c
+@@ -1158,7 +1158,7 @@ static int acpi_processor_power_verify(struct acpi_processor *pr)
+
+ pr->power.timer_broadcast_on_state = INT_MAX;
+
+- for (i = 1; i < ACPI_PROCESSOR_MAX_POWER; i++) {
++ for (i = 1; i < ACPI_PROCESSOR_MAX_POWER && i <= max_cstate; i++) {
+ struct acpi_processor_cx *cx = &pr->power.states[i];
+
+ switch (cx->type) {