diff options
author | Len Brown <len.brown@intel.com> | 2005-08-03 22:15:15 (GMT) |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2005-08-03 22:15:15 (GMT) |
commit | 8066eff0a1a0703ad901dbe5646a47dbfc089ef2 (patch) | |
tree | 9d46f66ae3f1002073c317e10218a78775ff7e2d /drivers/acpi/processor_idle.c | |
parent | 9a351e30d72d409ec62c83f380e330e0baa584b4 (diff) | |
parent | 79cda7d0e1c8629996242c036d6fe0466038d8ba (diff) | |
download | linux-fsl-qoriq-8066eff0a1a0703ad901dbe5646a47dbfc089ef2.tar.xz |
/home/lenb/src/to-linus branch 'acpi-2.6.12'
Diffstat (limited to 'drivers/acpi/processor_idle.c')
-rw-r--r-- | drivers/acpi/processor_idle.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c index af271d9..2c04740 100644 --- a/drivers/acpi/processor_idle.c +++ b/drivers/acpi/processor_idle.c @@ -86,12 +86,11 @@ static int set_max_cstate(struct dmi_system_id *id) if (max_cstate > ACPI_PROCESSOR_MAX_POWER) return 0; - printk(KERN_NOTICE PREFIX "%s detected - %s disabled." + printk(KERN_NOTICE PREFIX "%s detected - limiting to C%ld max_cstate." " Override with \"processor.max_cstate=%d\"\n", id->ident, - ((int)id->driver_data == 1)? "C2,C3":"C3", - ACPI_PROCESSOR_MAX_POWER + 1); + (long)id->driver_data, ACPI_PROCESSOR_MAX_POWER + 1); - max_cstate = (int)id->driver_data; + max_cstate = (long)id->driver_data; return 0; } |