OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e349792
)
PM/ACPI/x86: Fix sparse warning in arch/x86/kernel/acpi/sleep.c
author
Jaswinder Singh Rajput
<jaswinder@kernel.org>
Sat, 18 Apr 2009 11:44:57 +0000
(13:44 +0200)
committer
Rafael J. Wysocki
<rjw@sisk.pl>
Fri, 12 Jun 2009 19:32:29 +0000
(21:32 +0200)
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>
arch/x86/kernel/acpi/sleep.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/acpi/sleep.c
b/arch/x86/kernel/acpi/sleep.c
index
7c243a2
..
ca93638
100644
(file)
--- 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 = 0x123456789abcdef0
L
;
#endif /* CONFIG_64BIT */
return 0;