From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E3B31C7618F for ; Thu, 18 Jul 2019 19:10:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7DFDB21019 for ; Thu, 18 Jul 2019 19:10:43 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=zytor.com header.i=@zytor.com header.b="nXQxeBQC" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391123AbfGRTKm (ORCPT ); Thu, 18 Jul 2019 15:10:42 -0400 Received: from terminus.zytor.com ([198.137.202.136]:37603 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727742AbfGRTKm (ORCPT ); Thu, 18 Jul 2019 15:10:42 -0400 Received: from terminus.zytor.com (localhost [127.0.0.1]) by terminus.zytor.com (8.15.2/8.15.2) with ESMTPS id x6IJAVkR2124193 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Thu, 18 Jul 2019 12:10:31 -0700 DKIM-Filter: OpenDKIM Filter v2.11.0 terminus.zytor.com x6IJAVkR2124193 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zytor.com; s=2019061801; t=1563477031; bh=VVZrK8XC1EDXz97I8f8S6DqnZv4qdr6FPsJHt33xAJY=; h=Date:From:Cc:Reply-To:In-Reply-To:References:To:Subject:From; b=nXQxeBQCkPxUq9RD29wAJb2ejzg/w78Oi43KAwd4FNZecH56Z6t05wK8l/qC9rlLf BuRabo+Qh/P706XVu5YbNZPKO95ClY7yojgd+HnGhjImYaGx8WJWrgNWo9dL4G3O9+ lT/z8zuKr2VOCBQjdgmRJWJXOSpa7v4gmJk/6gRo0AOEOtAz2/J5sv2eSnvBCk7wkW TWVTh46gq1TUsFAdr+X/VLfhXNNozJ0UBMVM4ZsMygEKYY3JgevmNTlUQS65JN/ek+ AzqykGiWscnl3VuZ0d+FBB4e9x4wfI7D3iS+OYzQcvOHpUdVAAh0HjxdUOC+gSBO3Y K8RwaV1xcac9w== Received: (from tipbot@localhost) by terminus.zytor.com (8.15.2/8.15.2/Submit) id x6IJAUv52124190; Thu, 18 Jul 2019 12:10:30 -0700 Date: Thu, 18 Jul 2019 12:10:30 -0700 X-Authentication-Warning: terminus.zytor.com: tipbot set sender to tipbot@zytor.com using -f From: tip-bot for Josh Poimboeuf Message-ID: Cc: hpa@zytor.com, jpoimboe@redhat.com, mingo@kernel.org, tglx@linutronix.de, linux-kernel@vger.kernel.org, peterz@infradead.org Reply-To: hpa@zytor.com, mingo@kernel.org, tglx@linutronix.de, linux-kernel@vger.kernel.org, jpoimboe@redhat.com, peterz@infradead.org In-Reply-To: <89c97adc9f6cc44a0f5d03cde6d0357662938909.1563413318.git.jpoimboe@redhat.com> References: <89c97adc9f6cc44a0f5d03cde6d0357662938909.1563413318.git.jpoimboe@redhat.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:core/urgent] x86/entry: Fix thunk function ELF sizes Git-Commit-ID: e6dd47394493061c605285a868fc72eae2e9c866 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: e6dd47394493061c605285a868fc72eae2e9c866 Gitweb: https://git.kernel.org/tip/e6dd47394493061c605285a868fc72eae2e9c866 Author: Josh Poimboeuf AuthorDate: Wed, 17 Jul 2019 20:36:40 -0500 Committer: Thomas Gleixner CommitDate: Thu, 18 Jul 2019 21:01:04 +0200 x86/entry: Fix thunk function ELF sizes Fix the following warnings: arch/x86/entry/thunk_64.o: warning: objtool: trace_hardirqs_on_thunk() is missing an ELF size annotation arch/x86/entry/thunk_64.o: warning: objtool: trace_hardirqs_off_thunk() is missing an ELF size annotation arch/x86/entry/thunk_64.o: warning: objtool: lockdep_sys_exit_thunk() is missing an ELF size annotation Signed-off-by: Josh Poimboeuf Signed-off-by: Thomas Gleixner Acked-by: Peter Zijlstra (Intel) Link: https://lkml.kernel.org/r/89c97adc9f6cc44a0f5d03cde6d0357662938909.1563413318.git.jpoimboe@redhat.com --- arch/x86/entry/thunk_64.S | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/x86/entry/thunk_64.S b/arch/x86/entry/thunk_64.S index cfdca8b42c70..cc20465b2867 100644 --- a/arch/x86/entry/thunk_64.S +++ b/arch/x86/entry/thunk_64.S @@ -12,9 +12,7 @@ /* rdi: arg1 ... normal C conventions. rax is saved/restored. */ .macro THUNK name, func, put_ret_addr_in_rdi=0 - .globl \name - .type \name, @function -\name: + ENTRY(\name) pushq %rbp movq %rsp, %rbp @@ -35,6 +33,7 @@ call \func jmp .L_restore + ENDPROC(\name) _ASM_NOKPROBE(\name) .endm