From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752442AbdI1LAj (ORCPT ); Thu, 28 Sep 2017 07:00:39 -0400 Received: from terminus.zytor.com ([65.50.211.136]:60639 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751907AbdI1LAi (ORCPT ); Thu, 28 Sep 2017 07:00:38 -0400 Date: Thu, 28 Sep 2017 03:56:31 -0700 From: tip-bot for Josh Poimboeuf Message-ID: Cc: boris.ostrovsky@oracle.com, jgross@suse.com, peterz@infradead.org, hpa@zytor.com, luto@kernel.org, jslaby@suse.cz, tglx@linutronix.de, jpoimboe@redhat.com, mingo@kernel.org, torvalds@linux-foundation.org, linux-kernel@vger.kernel.org Reply-To: linux-kernel@vger.kernel.org, torvalds@linux-foundation.org, mingo@kernel.org, jpoimboe@redhat.com, tglx@linutronix.de, jslaby@suse.cz, luto@kernel.org, hpa@zytor.com, peterz@infradead.org, jgross@suse.com, boris.ostrovsky@oracle.com In-Reply-To: <293024b8a080832075312f38c07ccc970fc70292.1505764066.git.jpoimboe@redhat.com> References: <293024b8a080832075312f38c07ccc970fc70292.1505764066.git.jpoimboe@redhat.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:core/objtool] x86/boot: Annotate verify_cpu() as a callable function Git-Commit-ID: e93db75a0054b23a874a12c63376753544f3fe9e 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 List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: e93db75a0054b23a874a12c63376753544f3fe9e Gitweb: https://git.kernel.org/tip/e93db75a0054b23a874a12c63376753544f3fe9e Author: Josh Poimboeuf AuthorDate: Mon, 18 Sep 2017 21:43:34 -0500 Committer: Ingo Molnar CommitDate: Thu, 28 Sep 2017 09:39:03 +0200 x86/boot: Annotate verify_cpu() as a callable function verify_cpu() is a callable function. Annotate it as such. Signed-off-by: Josh Poimboeuf Cc: Andy Lutomirski Cc: Boris Ostrovsky Cc: Jiri Slaby Cc: Juergen Gross Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Thomas Gleixner Link: http://lkml.kernel.org/r/293024b8a080832075312f38c07ccc970fc70292.1505764066.git.jpoimboe@redhat.com Signed-off-by: Ingo Molnar --- arch/x86/kernel/verify_cpu.S | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/x86/kernel/verify_cpu.S b/arch/x86/kernel/verify_cpu.S index 014ea59..3d3c2f7 100644 --- a/arch/x86/kernel/verify_cpu.S +++ b/arch/x86/kernel/verify_cpu.S @@ -33,7 +33,7 @@ #include #include -verify_cpu: +ENTRY(verify_cpu) pushf # Save caller passed flags push $0 # Kill any dangerous flags popf @@ -139,3 +139,4 @@ verify_cpu: popf # Restore caller passed flags xorl %eax, %eax ret +ENDPROC(verify_cpu)