Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1826638imm; Mon, 3 Sep 2018 10:26:31 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZpNbTV1YgxqTEvpb62NtTea6cCQ9co3OkL5U5CImoukafMGrNQThYG8D9QbLxA2yElDDzZ X-Received: by 2002:a65:6550:: with SMTP id a16-v6mr26678176pgw.22.1535995590979; Mon, 03 Sep 2018 10:26:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535995590; cv=none; d=google.com; s=arc-20160816; b=ta3inEoGzWj1WfHfSyDuafMNkQdXxscGTDcHNn+pKwiKwL4dVa6cld1hGa9ZWMJRj4 cdWwOvy/GTqTBdFCCuFKodBa6MgT4SF6fqiU9AOlkriLySGqqqiNYXYgumcifIoNz8Za zGDBAFEdiIUhWTiGRMDUtC6FPAV7zHZbpDbWno6lraesFjveEpciD8d1LFms/HwDa3p2 lLZbJqcUQkvRTwcxr/Uc+S4onkbRY7hGc3I70p+ovngpQOWFzzsgyHkRdXGDpsby1c/o BvJFJMoqRjnS4QtSBxhgELDGAE+x859ptZPBn8LVGbPMCdi3SBWU/Hpg0e1tcInVXu51 drVA== 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=mLKj1xT8BId7dZdT6/KhvTdbyaNG1CTb6rkNVOG7UuI=; b=ujorZZ9ZdmwEjY6GfHH6gr8SnnMhLru5cuzJUZH9Z/Pe+Uw0KpLLYywTfGjU71iGlj lmS7SFHvFNifqZZpbSDq3OvyeWBwuZ4qHngoPEK9+REFeQPvJF7o5KXzh1KXTkngdrWN tRHHgPgN3yEqOsTShhdxStV6tWhPO4hJsy0rdE0F2PNQYcDbj3Wp83stToUxH7DKClcZ vCwvY504utbgW5mg8vuJrPqtiGpTs0wBsFDe3N9r1Y6Vz1oHep6vwi/GrmDIuwDf1XGj I3pf8n0AE734mZzIl8PCz7xItP37251EVY349uhQALJW9DrpwHtplmwVXjSfLE4zsudi Wtkg== 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 y9-v6si18371527plk.427.2018.09.03.10.26.16; Mon, 03 Sep 2018 10:26:30 -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 S1730606AbeICVqT (ORCPT + 99 others); Mon, 3 Sep 2018 17:46:19 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:45692 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728556AbeICVqS (ORCPT ); Mon, 3 Sep 2018 17:46:18 -0400 Received: from localhost (ip-213-127-74-90.ip.prioritytelecom.net [213.127.74.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id DFE61D38; Mon, 3 Sep 2018 17:25:10 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Rian Hunter , Thomas Gleixner , "H. Peter Anvin" , Andy Lutomirski , Borislav Petkov , Vitaly Kuznetsov , Joerg Roedel , Dmitry Safonov , Josh Poimboeuf Subject: [PATCH 4.14 115/165] x86/process: Re-export start_thread() Date: Mon, 3 Sep 2018 18:56:41 +0200 Message-Id: <20180903165701.310870470@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: Rian Hunter commit dc76803e57cc86589c4efcb5362918f9b0c0436f upstream. The consolidation of the start_thread() functions removed the export unintentionally. This breaks binfmt handlers built as a module. Add it back. Fixes: e634d8fc792c ("x86-64: merge the standard and compat start_thread() functions") Signed-off-by: Rian Hunter Signed-off-by: Thomas Gleixner Cc: "H. Peter Anvin" Cc: Andy Lutomirski Cc: Borislav Petkov Cc: Vitaly Kuznetsov Cc: Joerg Roedel Cc: Dmitry Safonov Cc: Josh Poimboeuf Cc: stable@vger.kernel.org Link: https://lkml.kernel.org/r/20180819230854.7275-1-rian@alum.mit.edu Signed-off-by: Greg Kroah-Hartman --- arch/x86/kernel/process_64.c | 1 + 1 file changed, 1 insertion(+) --- a/arch/x86/kernel/process_64.c +++ b/arch/x86/kernel/process_64.c @@ -370,6 +370,7 @@ start_thread(struct pt_regs *regs, unsig start_thread_common(regs, new_ip, new_sp, __USER_CS, __USER_DS, 0); } +EXPORT_SYMBOL_GPL(start_thread); #ifdef CONFIG_COMPAT void compat_start_thread(struct pt_regs *regs, u32 new_ip, u32 new_sp)