From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750979AbcFWLuF (ORCPT ); Thu, 23 Jun 2016 07:50:05 -0400 Received: from mail.skyhub.de ([78.46.96.112]:56798 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750729AbcFWLuE (ORCPT ); Thu, 23 Jun 2016 07:50:04 -0400 From: Borislav Petkov To: X86 ML Cc: LKML Subject: [PATCH] x86/asm/entry: Make thunk's restore a local label Date: Thu, 23 Jun 2016 13:49:54 +0200 Message-Id: <1466682594-23019-1-git-send-email-bp@alien8.de> X-Mailer: git-send-email 2.5.0.rc2.28.g6003e7f Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Borislav Petkov No need to have it appear in objdump output. No functionality change. Signed-off-by: Borislav Petkov --- arch/x86/entry/thunk_64.S | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/x86/entry/thunk_64.S b/arch/x86/entry/thunk_64.S index 027aec4a74df..7b506f52a92c 100644 --- a/arch/x86/entry/thunk_64.S +++ b/arch/x86/entry/thunk_64.S @@ -33,7 +33,7 @@ .endif call \func - jmp restore + jmp .Lrestore _ASM_NOKPROBE(\name) .endm @@ -54,7 +54,7 @@ #if defined(CONFIG_TRACE_IRQFLAGS) \ || defined(CONFIG_DEBUG_LOCK_ALLOC) \ || defined(CONFIG_PREEMPT) -restore: +.Lrestore: popq %r11 popq %r10 popq %r9 @@ -66,5 +66,5 @@ restore: popq %rdi popq %rbp ret - _ASM_NOKPROBE(restore) + _ASM_NOKPROBE(.Lrestore) #endif -- 2.5.0.rc2.28.g6003e7f