Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1829103imm; Mon, 3 Sep 2018 10:30:12 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYkYudcw4wS9EPJ3f/kbwf7ykU/tMJ7N76+YpC5c4izsTXN8DdCFqa57LoGo270PsOxelLa X-Received: by 2002:a62:71c4:: with SMTP id m187-v6mr2559406pfc.232.1535995812263; Mon, 03 Sep 2018 10:30:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535995812; cv=none; d=google.com; s=arc-20160816; b=UeI7lZwY3zCcKk0+aTHIJmWDaIfbfe7NYkLvzuHun4AoigttM3z36xyZYTUMbj1Pdi lebE4JqEwgVNdZggpcwWI7xSehuHUmfDOLlPPLr02vLDwrPDspgAv/yQ/KULRWzwSruD NhJrv8sfId612rzh79nT4aZ6G7TpvLtufQJeNgIA/scrK1vFvH4JCspKMgD74V8gjzsX LTop0GVzp2bFracoxFBHQVqhH37DSIVDRC9Pj4Ongme02G872pMogC/7KdjJhE7fUJ85 6TBthCgOWIpGNIwc3hy9NXksFVut4jSFe3IqcX/irfyU0erzr9YhheCm2WD8ysoFJtkX AC5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=x5bzIrQZ9w4TAFTwfhvqDRoPNSFj9wEIp8uq6A1Nx5s=; b=z9Ru3TI/QV0M8zgWLeWFnx5yP4dcHpcMtNT47DM+wRPn9egpIZazdLJz3yWaBBqLts joVnVWNXniLUbc2GscOgsIX4OFLhrz13wmv6uN/qJ2+ukopcHse4hVKThyv9HWhDsc87 CD1RyvZig/Pu6R6iZ5+fCtbSIDMUdncwerEAmD+uvwjmqDni/58mDe1OJCEi7CxK6nWH 1EXh7tCL571qpeRC87rBYI2vi8s0fmXIYA2AzKbqvQz5N3B83iDrKHD7XcF5TcVt24uh 0Y4ZLraiSYf90zNh4Us29qC4JNgOvUPMsElQp0N1X/i8e8Q4E6fi0nGKN/eflN2Z/lax b29w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o126-v6si19090270pfb.20.2018.09.03.10.29.57; Mon, 03 Sep 2018 10:30:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731211AbeICVuB (ORCPT + 99 others); Mon, 3 Sep 2018 17:50:01 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:46482 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729098AbeICVuB (ORCPT ); Mon, 3 Sep 2018 17:50:01 -0400 Received: from localhost (ip-213-127-74-90.ip.prioritytelecom.net [213.127.74.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 260E0D01; Mon, 3 Sep 2018 17:28:52 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Ben Hutchings , Nick Desaulniers , Thomas Gleixner , Juergen Gross , "H. Peter Anvin" , Boris Ostrovsky Subject: [PATCH 4.14 137/165] x86/irqflags: Mark native_restore_fl extern inline Date: Mon, 3 Sep 2018 18:57:03 +0200 Message-Id: <20180903165702.416395018@linuxfoundation.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180903165655.003605184@linuxfoundation.org> References: <20180903165655.003605184@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Nick Desaulniers commit 1f59a4581b5ecfe9b4f049a7a2cf904d8352842d upstream. This should have been marked extern inline in order to pick up the out of line definition in arch/x86/kernel/irqflags.S. Fixes: 208cbb325589 ("x86/irqflags: Provide a declaration for native_save_fl") Reported-by: Ben Hutchings Signed-off-by: Nick Desaulniers Signed-off-by: Thomas Gleixner Reviewed-by: Juergen Gross Cc: "H. Peter Anvin" Cc: Boris Ostrovsky Cc: Greg Kroah-Hartman Cc: stable@vger.kernel.org Link: https://lkml.kernel.org/r/20180827214011.55428-1-ndesaulniers@google.com Signed-off-by: Greg Kroah-Hartman --- arch/x86/include/asm/irqflags.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/arch/x86/include/asm/irqflags.h +++ b/arch/x86/include/asm/irqflags.h @@ -33,7 +33,8 @@ extern inline unsigned long native_save_ return flags; } -static inline void native_restore_fl(unsigned long flags) +extern inline void native_restore_fl(unsigned long flags); +extern inline void native_restore_fl(unsigned long flags) { asm volatile("push %0 ; popf" : /* no output */