提交 ff22e201 编写于 作者: B Borislav Petkov 提交者: Ingo Molnar

x86/asm, x86/power/hibernate: Use local labels in asm

... 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: NBorislav Petkov <bp@suse.de>
Acked-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: NPavel Machek <pavel@ucw.cz>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Rafael J. Wysocki <rjw@rjwysocki.net>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-pm@vger.kernel.org
Link: http://lkml.kernel.org/r/1428867906-12016-1-git-send-email-bp@alien8.deSigned-off-by: NIngo Molnar <mingo@kernel.org>
上级 14434052
...@@ -78,9 +78,9 @@ ENTRY(restore_image) ...@@ -78,9 +78,9 @@ ENTRY(restore_image)
/* code below has been relocated to a safe page */ /* code below has been relocated to a safe page */
ENTRY(core_restore_code) ENTRY(core_restore_code)
loop: .Lloop:
testq %rdx, %rdx testq %rdx, %rdx
jz done jz .Ldone
/* get addresses from the pbe and copy the page */ /* get addresses from the pbe and copy the page */
movq pbe_address(%rdx), %rsi movq pbe_address(%rdx), %rsi
...@@ -91,8 +91,8 @@ loop: ...@@ -91,8 +91,8 @@ loop:
/* progress to the next pbe */ /* progress to the next pbe */
movq pbe_next(%rdx), %rdx movq pbe_next(%rdx), %rdx
jmp loop jmp .Lloop
done: .Ldone:
/* jump to the restore_registers address from the image header */ /* jump to the restore_registers address from the image header */
jmpq *%rax jmpq *%rax
/* /*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册