projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87bec66
)
[ACPI] fix 64-bit build warning in processor_idle.c
author
Len Brown
<len.brown@intel.com>
Wed, 3 Aug 2005 04:22:52 +0000
(
00:22
-0400)
committer
Len Brown
<len.brown@intel.com>
Wed, 3 Aug 2005 04:23:45 +0000
(
00:23
-0400)
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/processor_idle.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/acpi/processor_idle.c
b/drivers/acpi/processor_idle.c
index fd54589478514dba229968d025e311c462086ea4..8f7836678b2970e0cf34d6ab59ddfe782cc5f993 100644
(file)
--- 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;
}