From: Jaswinder Singh Rajput Date: Sat, 18 Apr 2009 11:44:57 +0000 (+0200) Subject: PM/ACPI/x86: Fix sparse warning in arch/x86/kernel/acpi/sleep.c X-Git-Tag: v2.6.31-rc1~357^2~19 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=ce4b3c55475e451cb489e857640396c37ca88974;p=linux-2.6-block.git PM/ACPI/x86: Fix sparse warning in arch/x86/kernel/acpi/sleep.c One of the numbers in arch/x86/kernel/acpi/sleep.c is long, but it is not annotated appropriately, so sparese warns about it. Fix that. [rjw: added the changelog.] Signed-off-by: Rafael J. Wysocki --- diff --git a/arch/x86/kernel/acpi/sleep.c b/arch/x86/kernel/acpi/sleep.c index 7c243a2c5115..ca93638ba430 100644 --- a/arch/x86/kernel/acpi/sleep.c +++ b/arch/x86/kernel/acpi/sleep.c @@ -104,7 +104,7 @@ int acpi_save_state_mem(void) initial_gs = per_cpu_offset(smp_processor_id()); #endif initial_code = (unsigned long)wakeup_long64; - saved_magic = 0x123456789abcdef0; + saved_magic = 0x123456789abcdef0L; #endif /* CONFIG_64BIT */ return 0;