Commit 9a7e7b57 authored by Borislav Petkov's avatar Borislav Petkov Committed by Ingo Molnar

x86/asm/entry: Make thunk's restore a local label

No need to have it appear in objdump output.

No functionality change.
Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20160708141016.GH3808@pd.tnicSigned-off-by: default avatarIngo Molnar <mingo@kernel.org>
parent e754aedc
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
.endif .endif
call \func call \func
jmp restore jmp .L_restore
_ASM_NOKPROBE(\name) _ASM_NOKPROBE(\name)
.endm .endm
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
#if defined(CONFIG_TRACE_IRQFLAGS) \ #if defined(CONFIG_TRACE_IRQFLAGS) \
|| defined(CONFIG_DEBUG_LOCK_ALLOC) \ || defined(CONFIG_DEBUG_LOCK_ALLOC) \
|| defined(CONFIG_PREEMPT) || defined(CONFIG_PREEMPT)
restore: .L_restore:
popq %r11 popq %r11
popq %r10 popq %r10
popq %r9 popq %r9
...@@ -66,5 +66,5 @@ restore: ...@@ -66,5 +66,5 @@ restore:
popq %rdi popq %rdi
popq %rbp popq %rbp
ret ret
_ASM_NOKPROBE(restore) _ASM_NOKPROBE(.L_restore)
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment