From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751480AbdISCoA (ORCPT ); Mon, 18 Sep 2017 22:44:00 -0400 Received: from mx1.redhat.com ([209.132.183.28]:49670 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751372AbdISCn5 (ORCPT ); Mon, 18 Sep 2017 22:43:57 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 1B7F7356CD Authentication-Results: ext-mx06.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx06.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=jpoimboe@redhat.com From: Josh Poimboeuf To: x86@kernel.org Cc: Jiri Slaby , linux-kernel@vger.kernel.org, Andy Lutomirski Subject: [PATCH v2 5/8] x86/boot: Annotate verify_cpu() as a callable function Date: Mon, 18 Sep 2017 21:43:34 -0500 Message-Id: <293024b8a080832075312f38c07ccc970fc70292.1505764066.git.jpoimboe@redhat.com> In-Reply-To: References: X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Tue, 19 Sep 2017 02:43:57 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org verify_cpu() is a callable function. Annotate it as such. Signed-off-by: Josh Poimboeuf --- 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 014ea59aa153..3d3c2f71f617 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) -- 2.13.5