Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4137774imm; Mon, 20 Aug 2018 10:26:19 -0700 (PDT) X-Google-Smtp-Source: AA+uWPw0WKtc/vTvTD5rTzcLb/xsxl/wGn2RoQDHdv3YWf16EeKcJx1OPHKpmYMOnqJUazsu8FAs X-Received: by 2002:a17:902:e20b:: with SMTP id ce11-v6mr46079542plb.136.1534785979148; Mon, 20 Aug 2018 10:26:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534785979; cv=none; d=google.com; s=arc-20160816; b=d9KxIBl3UnLJWSko7H7fWxlmPTCRikJhhrhj90f8xKroznoTX7/Lao+jrdQUg1dT8c R02u0WC5LSLmGI9VXMfHjH/hwto0GDee6q1xksGJyj85CQQWwMnWl3uP5Eg+oep0h8AM vyQIRkaxC+rj2VWXP2DtwlQldngw7PzhQ8lvkBAwz955xugQQPVD0eg8sqGL2tRcZun7 hdd7s9p7aQssCQixWq8WW6JFZkFrWYlsxqeG5JAOZCqYl5/Vl3x0xna0+GGJqMQXg9F/ UrhlvP/rPwW1GkJIRIu70xF3F4Jm3QngVPD/cVrtx49yNVbew9OUO+jmBowrIL0JGF6D +TAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition :content-transfer-encoding:mime-version:robot-unsubscribe:robot-id :git-commit-id:subject:to:references:in-reply-to:reply-to:cc :message-id:from:date:arc-authentication-results; bh=AL3rP1TGuYjDl0hqWKQ9QPLWOL0FQr9SI8mhmECuXfo=; b=IuGvSMh0fkrlyx3tSMjc8rPchTYhS7yD5EEucVhX4alnWSG2SLj1E8ID9oRsyhcq7b jBoEX7Ve1Brq0fgvaRqzl7lLW0Yo9fjweLXGitTTvCtwpAK5RHax/C+MScuaDurAygU1 GwRn5IkYocDs5QhrX4EDyeWqQP3RVsiP9UjnRIbUDURIteXLhlzWTd57i6M+TVx77xv1 Yj3KJp8f6g6Ak5vpY9clO/jGsj0NsKTluhkkb7bkrRokKRtyZViP8CGxHjgSoMaDbloD LuKDXcgUoLPhT1dctyO1uDFD8QcEzRkyNqgZ+j7AMwQrkK+RtLkTTsGzp+w1nLwYvA8k 15Tw== 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 o21-v6si9320277pgk.337.2018.08.20.10.26.04; Mon, 20 Aug 2018 10:26:19 -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 S1727188AbeHTT14 (ORCPT + 99 others); Mon, 20 Aug 2018 15:27:56 -0400 Received: from terminus.zytor.com ([198.137.202.136]:46843 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726099AbeHTT1z (ORCPT ); Mon, 20 Aug 2018 15:27:55 -0400 Received: from terminus.zytor.com (localhost [127.0.0.1]) by terminus.zytor.com (8.15.2/8.15.2) with ESMTPS id w7KGBMqE2126078 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 20 Aug 2018 09:11:22 -0700 Received: (from tipbot@localhost) by terminus.zytor.com (8.15.2/8.15.2/Submit) id w7KGBMPr2126075; Mon, 20 Aug 2018 09:11:22 -0700 Date: Mon, 20 Aug 2018 09:11:22 -0700 X-Authentication-Warning: terminus.zytor.com: tipbot set sender to tipbot@zytor.com using -f From: tip-bot for Rian Hunter Message-ID: Cc: rian@alum.mit.edu, hpa@zytor.com, bpetkov@suse.de, tglx@linutronix.de, luto@kernel.org, vkuznets@redhat.com, jpoimboe@redhat.com, linux-kernel@vger.kernel.org, jroedel@suse.de, mingo@kernel.org, dima@arista.com Reply-To: mingo@kernel.org, dima@arista.com, linux-kernel@vger.kernel.org, jroedel@suse.de, tglx@linutronix.de, luto@kernel.org, vkuznets@redhat.com, jpoimboe@redhat.com, rian@alum.mit.edu, hpa@zytor.com, bpetkov@suse.de In-Reply-To: <20180819230854.7275-1-rian@alum.mit.edu> References: <20180819230854.7275-1-rian@alum.mit.edu> To: linux-tip-commits@vger.kernel.org Subject: [tip:x86/urgent] x86/process: Re-export start_thread() Git-Commit-ID: dc76803e57cc86589c4efcb5362918f9b0c0436f 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 X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, T_DATE_IN_FUTURE_96_Q autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on terminus.zytor.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: dc76803e57cc86589c4efcb5362918f9b0c0436f Gitweb: https://git.kernel.org/tip/dc76803e57cc86589c4efcb5362918f9b0c0436f Author: Rian Hunter AuthorDate: Sun, 19 Aug 2018 16:08:53 -0700 Committer: Thomas Gleixner CommitDate: Mon, 20 Aug 2018 18:04:42 +0200 x86/process: Re-export start_thread() 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 --- arch/x86/kernel/process_64.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/kernel/process_64.c b/arch/x86/kernel/process_64.c index 476e3ddf8890..a451bc374b9b 100644 --- a/arch/x86/kernel/process_64.c +++ b/arch/x86/kernel/process_64.c @@ -384,6 +384,7 @@ start_thread(struct pt_regs *regs, unsigned long new_ip, unsigned long new_sp) 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)