Skip to content

Commit

Permalink
PM/ACPI/x86: Fix sparse warning in arch/x86/kernel/acpi/sleep.c
Browse files Browse the repository at this point in the history
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 <rjw@sisk.pl>
  • Loading branch information
Jaswinder Singh Rajput authored and Rafael J. Wysocki committed Jun 12, 2009
1 parent e349792 commit ce4b3c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/kernel/acpi/sleep.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ce4b3c5

Please sign in to comment.