projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1443405
)
x86/asm, x86/power/hibernate: Use local labels in asm
author
Borislav Petkov
<
[email protected]
>
Sun, 12 Apr 2015 19:45:06 +0000
(21:45 +0200)
committer
Ingo Molnar
<
[email protected]
>
Wed, 15 Apr 2015 09:37:51 +0000
(11:37 +0200)
... so that they don't appear in the object file and thus in
objdump output. They're local anyway and have a meaning only
within that file.
No functionality change.
Signed-off-by: Borislav Petkov <
[email protected]
>
Acked-by: Rafael J. Wysocki <
[email protected]
>
Acked-by: Pavel Machek <
[email protected]
>
Cc: H. Peter Anvin <
[email protected]
>
Cc: Rafael J. Wysocki <
[email protected]
>
Cc: Thomas Gleixner <
[email protected]
>
Cc:
[email protected]
Link:
http://lkml.kernel.org/r/
[email protected]
Signed-off-by: Ingo Molnar <
[email protected]
>
arch/x86/power/hibernate_asm_64.S
patch
|
blob
|
history
diff --git
a/arch/x86/power/hibernate_asm_64.S
b/arch/x86/power/hibernate_asm_64.S
index 3c4469a7a929c7fa3488707a25829cdc6fcc6411..e2386cb4e0c315f32fae03afd13045c4047eb902 100644
(file)
--- a/
arch/x86/power/hibernate_asm_64.S
+++ b/
arch/x86/power/hibernate_asm_64.S
@@
-78,9
+78,9
@@
ENTRY(restore_image)
/* code below has been relocated to a safe page */
ENTRY(core_restore_code)
-loop:
+
.L
loop:
testq %rdx, %rdx
- jz done
+ jz
.L
done
/* get addresses from the pbe and copy the page */
movq pbe_address(%rdx), %rsi
@@
-91,8
+91,8
@@
loop:
/* progress to the next pbe */
movq pbe_next(%rdx), %rdx
- jmp loop
-done:
+ jmp
.L
loop
+
.L
done:
/* jump to the restore_registers address from the image header */
jmpq *%rax
/*