Skip to content

Commit

Permalink
[ACPI] fix 64-bit build warning in processor_idle.c
Browse files Browse the repository at this point in the history
Signed-off-by: Len Brown <len.brown@intel.com>
  • Loading branch information
Len Brown committed Aug 3, 2005
1 parent 87bec66 commit 3d35600
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions drivers/acpi/processor_idle.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 3d35600

Please sign in to comment.