Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3256821imm; Sun, 19 Aug 2018 16:20:38 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxRi52vaq3D6Gw/z2ZfxzWR0jW20+5+fkGvTuny4Y+tiuEDr4Qu2eZA373PNZwigh0dzZ1l X-Received: by 2002:a17:902:33c2:: with SMTP id b60-v6mr42987944plc.11.1534720838251; Sun, 19 Aug 2018 16:20:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534720838; cv=none; d=google.com; s=arc-20160816; b=QRRYtAcneEwGW8ITWg0bCOAlL3scynlOJ4i/yzaSKd3mJwOOq6Zd/uyyNx4BBLRDuE OtfaEVtM0azldc+1iIrbTYtYH5WV1+BGg01b+xQwXHlxMbwGhrAvZ/QHVFzvxkvaC+DD jJIMvleaaDJOvL5+25LG7OSIcEAnZ3JEcaMbxowyuwghrBAHFioUxX4RM/DN72xRNJYR h4PhrKXiNhepFCsXc16W+8OcftcJlswuamClhK7wQOUt4iNpGdYo7Er7x2c1MJELyOU2 FtQ02c13yItXeiHel9YGewqTMQp+eU7+CKghcndgJrS3RgajkcICftyj73IrU8W2hxJy cbpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=0/BvDj8JJGa9SpFBcHAn4AZGTRd2tnG/wRW9tCH+iKE=; b=GFRYWPyRqH6xnjnzQaadnrOYxQwXB0Sv+sLhAYQ/e5eZhQn5N5vS0/26FHqi7J0KIB hAD7Z12EydUjcAeb51Q3XU9mtT8euvZAlAYVafFbRXlWMrD2i0a9N6ZbeL6GCJ+VJDmE 3maWXXlKk/SBiNP0+p7mxaZ49HAMtKpJzUWfXKeMEAupAefEhG1Ch5FuNI8ENHjlXUyQ lOH6BfR0oxgx6+eLvmQOV4ougIY/DfH0/pjg1H+XMWqSdJrPGCkS8/nNCy5VV5k7C9mx 9Z1C8BeSfu3LEEjLO8MgbvENNvWLEleZLshzXPKIeb13dxV0NLAUQaGkwYbtuMqg5Ycx XeMQ== 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 n184-v6si7942143pga.98.2018.08.19.16.19.47; Sun, 19 Aug 2018 16:20:38 -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 S1726504AbeHTC3h (ORCPT + 99 others); Sun, 19 Aug 2018 22:29:37 -0400 Received: from alum-mailsec-scanner-6.mit.edu ([18.7.68.18]:45814 "EHLO alum-mailsec-scanner-6.mit.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726397AbeHTC3h (ORCPT ); Sun, 19 Aug 2018 22:29:37 -0400 X-Greylist: delayed 423 seconds by postgrey-1.27 at vger.kernel.org; Sun, 19 Aug 2018 22:29:37 EDT X-AuditID: 12074412-b03ff70000007a70-a6-5b79f8a49835 Received: from outgoing-alum.mit.edu (OUTGOING-ALUM.MIT.EDU [18.7.68.33]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by alum-mailsec-scanner-6.mit.edu (Symantec Messaging Gateway) with SMTP id 6E.AE.31344.4A8F97B5; Sun, 19 Aug 2018 19:09:24 -0400 (EDT) Received: from email-server.localdomain (104-63-242-122.lightspeed.irvnca.sbcglobal.net [104.63.242.122]) (authenticated bits=0) (User authenticated as rian@ALUM.MIT.EDU) by outgoing-alum.mit.edu (8.13.8/8.12.4) with ESMTP id w7JN9Kbj015989 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 19 Aug 2018 19:09:22 -0400 Received: from nori.lan.thelig.ht (localhost [127.0.0.1]) (Authenticated sender: rian@thelig.ht) by email-server.localdomain (Postfix) with ESMTPA id D1D8A49F04A; Sun, 19 Aug 2018 16:09:18 -0700 (PDT) From: Rian Hunter To: linux-kernel@vger.kernel.org Cc: Rian Hunter , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, Andy Lutomirski , Borislav Petkov , Vitaly Kuznetsov , Joerg Roedel , Dmitry Safonov , Josh Poimboeuf Subject: [PATCH] x86/process: Export start_thread() Date: Sun, 19 Aug 2018 16:08:53 -0700 Message-Id: <20180819230854.7275-1-rian@alum.mit.edu> X-Mailer: git-send-email 2.18.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrBIsWRmVeSWpSXmKPExsUixO6iqLvkR2W0wdoTJhZHWiawW1z8tJLd YtpGcYsDP08wWkw+NZfJ4vKuOWwW53etZbW4dGABk0Xv/h5Gi82bpjJbTGq9zGzxY8NjVgce j7/vPzB57J7exOixaVUnm8e7c+fYPd7vu8rmsfl0tcfnTXIeJ1q+sAZwRHHZpKTmZJalFunb JXBlrDy+lLGgk73iX+Nu5gbGf6xdjJwcEgImEoemb2LvYuTiEBLYwSRxZsERFgjnGZPE08M7 2CCcc4wS/SsXM4O0sAmoSmxuOQJmiwgoSGzufcYKUsQsMI9Z4uORFewgCWEBY4m/a2aD7WAB aljSPhGsgVfAVOJO5yeo3fISD4+3M05g5F7AyLCKUS4xpzRXNzcxM6c4NVm3ODkxLy+1SNdM LzezRC81pXQTIyQQhXYwrj8pd4hRgINRiYd3wdXKaCHWxLLiytxDjJIcTEqivOqHgUJ8Sfkp lRmJxRnxRaU5qcWHGCU4mJVEeFsXAuV4UxIrq1KL8mFS0hwsSuK8zCZ7o4QE0hNLUrNTUwtS i2CyMhwcShK8Od+BGgWLUtNTK9Iyc0oQ0kwcnCDDeYCGbwep4S0uSMwtzkyHyJ9i1OX4837q JGYhlrz8vFQpcd4zIEUCIEUZpXlwc2AJ5BWjONBbwryaIFU8wOQDN+kV0BImoCXsbGBLShIR UlINjA27vuycO1Gl3+RMHO/LeqWl/7p9TMRX9wnt+WDuZl/d+1/ySYSjgs35pU+Od2/X3bhr lpxIOmP50ZPzbt8wO16gwv1HyOFEwd+H4W9vTUnbtStxt1GXWMHuhKofRszBuZ6rrrFGRdmv sWdKmnv/T5yiyPRTU9vXp8YUr20o+tBisOD6/poKUyWW4oxEQy3mouJEANCYipn7AgAA Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit e634d8fc792c ("x86-64: merge the standard and compat start_thread() functions") removed exporting for the start_thread() function in what seems like a typo. Add it back to arch/x86/kernel/process_64.c for parity with process_32.c and other arch. Signed-off-by: Rian Hunter --- 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) -- 2.16.3