Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1834492imm; Mon, 3 Sep 2018 10:38:17 -0700 (PDT) X-Google-Smtp-Source: ANB0VdarSeBbIGNVMuxdbN+uaK9ZDmazUHkKpqh35tgFNY0zl7TgYLBjvM+BM/Wv7IP0BguNxrl+ X-Received: by 2002:a17:902:9687:: with SMTP id n7-v6mr29535510plp.33.1535996297084; Mon, 03 Sep 2018 10:38:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535996297; cv=none; d=google.com; s=arc-20160816; b=0bBrSPo/gflnDiG5kRn9oFjidktaPLnatJ3WOoMCbKKB+BVeU7Vmgmi4cdA/RZnvUD AIBwUNpTKCM7zbqAFtUN1SqRh0oC1tg2V0T0/Y0M1Y8CBhYD0jia1wazu164qmcw6HDf Gn8PfPZLhq/9EL6N3JCd7pu5miL87ayPY9fMP60Xqf1pRUJ4X/A3odx0LBjZ+FNo3Uv0 maEeJqT+vNraft40HUmpHEcTWV8+e6kIKy0PG60yO6YfZSG3CGonc/CeoJ3Lct9+SoGh gqP6pOMPeFNp4vbIwHMjQu47MlfIYouBn+QDz3YPIU7141vc6u1mEGBWbsOEH7Fs733c /2uA== 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=bk6xbtFCrtUtP3Xfu0hXaA6zC/K4qFEgT+ywUo/i1vQ=; b=0E5pkkS7irsJNPpg39maBGKQpVD16VvYM6TR5vSctc7QoUJvzlUY+YJGesdHz+dVoh CYI5G+EnO8uZMvRdvKc9H/1FzdP1k0vLX821fcoXt91qvDV2GwsBsQEjsMEOm5/0/MW3 YnM7hmx18jnnXZrsi6J7izU/e3OYx4/tPG7M3JrI26P338AHZB2hbKokzB3OUG3Euvlv GPk5SRlYVhq7+yV6cj9+Ukr58l3xttWW4P5myuL2AqXPm/Ru8krFD08Q7NGhRzYHj4wd 33eo/QiziOK+gxSJjkNldeMgS5wYTk66yZByr25FHPzdQRxK+cPwI7JRfL2Gz9Z44T3M b1nQ== 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 s126-v6si20042085pfc.222.2018.09.03.10.38.02; Mon, 03 Sep 2018 10:38:17 -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 S1731375AbeICV6F (ORCPT + 99 others); Mon, 3 Sep 2018 17:58:05 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:48166 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728779AbeICV6E (ORCPT ); Mon, 3 Sep 2018 17:58:04 -0400 Received: from localhost (ip-213-127-74-90.ip.prioritytelecom.net [213.127.74.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 09C32D1B; Mon, 3 Sep 2018 17:36:53 +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.18 081/123] x86/irqflags: Mark native_restore_fl extern inline Date: Mon, 3 Sep 2018 18:57:05 +0200 Message-Id: <20180903165722.978719374@linuxfoundation.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180903165719.499675257@linuxfoundation.org> References: <20180903165719.499675257@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.18-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 */