Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3407481imm; Sun, 19 Aug 2018 20:26:49 -0700 (PDT) X-Google-Smtp-Source: AA+uWPzV2g84jDg5E9WVNPoAOGtiSPIdrByptjSgRwhwcfV+UvYw7AJcVZU7MRxyc+qKCJ3EHKZe X-Received: by 2002:a63:fc5a:: with SMTP id r26-v6mr10247142pgk.377.1534735609593; Sun, 19 Aug 2018 20:26:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534735609; cv=none; d=google.com; s=arc-20160816; b=nIbYxrxGl9XWTC5YIjiZnaTTsE7deS3wvGMwF/icZFiDYgARHVzj4WJTcs4l8+y5Wm cyDHfJhUYuVPlQv3EOZ40bzGg9Kdfk41m6vF1FRo1E0FXZL0wO0DhLBGYlCqNMTL5AJO JTzow6Zod+KrvuRSY++eAkaLU72HvRQT3o3E3U9G8WZ39XchWEq0QcO5AacYaxNWpiVa lLgDBLbfgNAUGz9I+CbOfDwCJklkA7F+wu+gyVhZiowvNFI3sdSpRlrJrlul6jhax/uX jUct4ZsgD9ZJmHGVRr1gxRAbq6n/WhjB/iUcjrNgVVul+gbjAtJFzU2lLoq10kPMp5kC GbvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:in-reply-to:cc:references:message-id :date:subject:mime-version:from:content-transfer-encoding :dkim-signature:arc-authentication-results; bh=f93Pk77n//138uVICqkEHdCERG5DVYotTn9mhWSXD4E=; b=IshHHn3OxcGybzltvVSpB4YM0oH23QJ8wLUcMFLIeFU5p4yO1RBE/K8IBK2CMnzW4c CoTFn1RXmig/9pwQhMa8E4My7FIie8hLvTj4qdj8tQc3yocIuXEoG3XTVHXmzUsx9ofG I/8p3vuuJ0mMnBDAQQb17osYHy6Ww/FN0ZfH7bHQTXcAsWVEGbFHtdzN5FFk4napBFVF l4i/ZVikRKw14+RhTZnr/gTIs8GKR7Vt/iclO9FkGKqTOOr4aeicLWHBKxRp1H9lLCT5 Ji1WYMe/sW6648ykIUh+zoISlNkG15qHO/HjJFr4dNnT7ZSY4+lbGOpkV75n1lXDkC+P xvWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amacapital-net.20150623.gappssmtp.com header.s=20150623 header.b=Ja3BD4EB; 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 b1-v6si8596827pld.396.2018.08.19.20.26.34; Sun, 19 Aug 2018 20:26:49 -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; dkim=pass header.i=@amacapital-net.20150623.gappssmtp.com header.s=20150623 header.b=Ja3BD4EB; 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 S1726239AbeHTGhb (ORCPT + 99 others); Mon, 20 Aug 2018 02:37:31 -0400 Received: from mail-pl0-f67.google.com ([209.85.160.67]:39737 "EHLO mail-pl0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725926AbeHTGhb (ORCPT ); Mon, 20 Aug 2018 02:37:31 -0400 Received: by mail-pl0-f67.google.com with SMTP id w14-v6so6365674plp.6 for ; Sun, 19 Aug 2018 20:23:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amacapital-net.20150623.gappssmtp.com; s=20150623; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=f93Pk77n//138uVICqkEHdCERG5DVYotTn9mhWSXD4E=; b=Ja3BD4EBY0Yhuoli+EHTwnhGpungL10Tip4rxo6jC3wYScynxJQu5cjcIC2zGLHlz2 FRvCZyjOsJSIaWcAGz83YKVhNaE+eMV83FbmMhJXlbpmLdz0/s9+/JqFquJ+8I0M51VS 2XdEajCw0iM+QhQ0GFSR8Rjd9oI6js03trYpH8tK1QjyELXLniG03AEdsuIE1eXO60vL kgF83wk2TksjxT0Bc56dgxe1AEfLxMaCyLbk/NxyX5z+HCz9Ajh3FqgPD47Vo9jy7w+l 7JdQAKVrnjDhSF3tU4oVK3ScnSpfYiZFOh58tAOTEcPHltXPhXGexZ3bHZr3wDd01voV 6p3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=f93Pk77n//138uVICqkEHdCERG5DVYotTn9mhWSXD4E=; b=WtixYtWkFeaT/Y/gXTYROGFZ14TB7p+pqTToo/ThBvk5i4f0TjI/8pN0OONa82BHeZ GJdGbCDnBSfkzrtLGEkLNB85QNqtQ5JXeTB5Gw0xzO2HS3d7nxIXZMe9JT6SqbYeLZxv LAKgIhnsgXMkPpHM0B7f4mui0IRzSloOYV1TPOtiTqw0hl9FdB1DI6CkEiKUYvjrlXuz 7bCSt6Q63LoLX1v6k1mecq3xIYkuUsL5wPpCMyIG1OAYM/PIrfuH4v0HgHZFkLHUcEpk Vj3AYX3LWXxMJQvvHQ6Y6mh47BTyj8XGiHChUdjexNUGT2ObKu7q2SHihFeQuvuohoct Q/JQ== X-Gm-Message-State: AOUpUlFWSbKwhHwDWWyf1n/rv7QQbqUxJMmZ74U707JUDC9J4mZGf2lT p4SkhbpjuuRChDh3mA0fH+GKRVN+89E= X-Received: by 2002:a17:902:d706:: with SMTP id w6-v6mr43570779ply.158.1534735420463; Sun, 19 Aug 2018 20:23:40 -0700 (PDT) Received: from ?IPv6:2600:1010:b005:f978:c1eb:4793:2546:f614? ([2600:1010:b005:f978:c1eb:4793:2546:f614]) by smtp.gmail.com with ESMTPSA id g2-v6sm11251029pfb.79.2018.08.19.20.23.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 19 Aug 2018 20:23:38 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable From: Andy Lutomirski Mime-Version: 1.0 (1.0) Subject: Re: [PATCH] x86/process: Export start_thread() Date: Sun, 19 Aug 2018 19:29:18 -0700 Message-Id: <53141AE9-7192-432B-8A27-25986CF442D4@amacapital.net> References: <20180819230854.7275-1-rian@alum.mit.edu> Cc: linux-kernel@vger.kernel.org, Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, Andy Lutomirski , Borislav Petkov , Vitaly Kuznetsov , Joerg Roedel , Dmitry Safonov , Josh Poimboeuf In-Reply-To: <20180819230854.7275-1-rian@alum.mit.edu> To: Rian Hunter X-Mailer: iPhone Mail (15G77) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On Aug 19, 2018, at 4:08 PM, Rian Hunter wrote: >=20 > 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. What for? Perhaps 32-bit could remove it instead? >=20 > Signed-off-by: Rian Hunter > --- > arch/x86/kernel/process_64.c | 1 + > 1 file changed, 1 insertion(+) >=20 > 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_i= p, unsigned long new_sp) > start_thread_common(regs, new_ip, new_sp, > __USER_CS, __USER_DS, 0); > } > +EXPORT_SYMBOL_GPL(start_thread); >=20 > #ifdef CONFIG_COMPAT > void compat_start_thread(struct pt_regs *regs, u32 new_ip, u32 new_sp) > --=20 > 2.16.3 >=20