aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2005-08-03 00:22:52 -0400
committerLen Brown <len.brown@intel.com>2005-08-03 00:23:45 -0400
commit3d35600a9de8e2816d0e3726f64b7271af6fdda4 (patch)
tree47b234ce27a0a6b0857ded04b95075a18e0462bb /drivers/acpi
parent87bec66b9691522414862dd8d41e430b063735ef (diff)
[ACPI] fix 64-bit build warning in processor_idle.c
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/processor_idle.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c
index fd5458947851..8f7836678b29 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)
86 if (max_cstate > ACPI_PROCESSOR_MAX_POWER) 86 if (max_cstate > ACPI_PROCESSOR_MAX_POWER)
87 return 0; 87 return 0;
88 88
89 printk(KERN_NOTICE PREFIX "%s detected - %s disabled." 89 printk(KERN_NOTICE PREFIX "%s detected - limiting to C%ld max_cstate."
90 " Override with \"processor.max_cstate=%d\"\n", id->ident, 90 " Override with \"processor.max_cstate=%d\"\n", id->ident,
91 ((int)id->driver_data == 1)? "C2,C3":"C3", 91 (long)id->driver_data, ACPI_PROCESSOR_MAX_POWER + 1);
92 ACPI_PROCESSOR_MAX_POWER + 1);
93 92
94 max_cstate = (int)id->driver_data; 93 max_cstate = (long)id->driver_data;
95 94
96 return 0; 95 return 0;
97} 96}