Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp277795ybz; Tue, 28 Apr 2020 23:31:44 -0700 (PDT) X-Google-Smtp-Source: APiQypI24CmslFFvB9YqpSW+ufwE9NfaP+Z019V6eN9G7e56FnhGcqK6A7aJ8iM++d88WqxgEo/O X-Received: by 2002:a17:906:2488:: with SMTP id e8mr1188558ejb.157.1588141904297; Tue, 28 Apr 2020 23:31:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588141904; cv=none; d=google.com; s=arc-20160816; b=hOjwQoqTwuOID6KbPjxDOj57EJK33FykY1VIbCz62DyaKEb6etFamGaa763/wFTEiq X6X9n7GcmR9H/1/LgxTd63CS+Z6aqkwdDnzkl+kh0gYWK6ZP2IgB+jf6pNi6F+SwzSfK WKRWJiXqI/ySASqla25WCcjAZXsnVGzic5cKW5pWh8xThEriQNTzwovZfmPCMUobl49R yYAlFPPYTihVM31RVQCPYJF74Zlt58wVoUWpRzlpC3UdrJSWpqh+9zh6q+gOvtnnq6Lo Uy0b2cHuWhkTRktuz9odNP4/OjXXAUHWKG8/nU6owGiOXwKqGor/vqidhUGXF4hZ6QPd 9frg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=AS20lI+5CGeQ2q+Vh9aAOzH61674wYka24wzhMALWN8=; b=HNu07Y1IFWGJvUNKLtNysTE9DRrFLFb3e3tcdrjYItPCzJG1AClLA0Q9KPeqvYNWcK 3/volisBrLA1F78VyhT2VnJhREfaNdtu51ROuSOG+5/ATOSz87j2bQcEkYPPAOtQzjzW ydRTfJIUhThL9go9WBv7of4Xe8ITs7UpShWPEnJGAx8scBJdSPUVEIiEBosPJHMBxFJm Hcpbk7RvjcAdYlqIQwSkQKxWJkkQ7hvIVdeLJMGen/TbzXBBwGTdkVr3ZQkEBr1ZufWB Z+9vR6YmUmD8wC/KVokAXS4O6Gj//k+5WLacXMQb9MXuqfM75ScL8TeaIc/Ato5+qHr2 SaRg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e7si3158598ejx.367.2020.04.28.23.31.20; Tue, 28 Apr 2020 23:31:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726562AbgD2G3g (ORCPT + 99 others); Wed, 29 Apr 2020 02:29:36 -0400 Received: from verein.lst.de ([213.95.11.211]:60981 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726158AbgD2G3g (ORCPT ); Wed, 29 Apr 2020 02:29:36 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 15B4768BEB; Wed, 29 Apr 2020 08:29:34 +0200 (CEST) Date: Wed, 29 Apr 2020 08:29:33 +0200 From: Christoph Hellwig To: Christophe Leroy Cc: Arnd Bergmann , Christoph Hellwig , Jeremy Kerr , linux-kernel@vger.kernel.org, "Eric W . Biederman" , linux-fsdevel@vger.kernel.org, Andrew Morton , linuxppc-dev@lists.ozlabs.org, Alexander Viro Subject: Re: [PATCH] fixup! signal: factor copy_siginfo_to_external32 from copy_siginfo_to_user32 Message-ID: <20200429062933.GB31478@lst.de> References: <20200428074827.GA19846@lst.de> <20200428195645.1365019-1-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 29, 2020 at 08:17:22AM +0200, Christophe Leroy wrote: >> +#ifndef CONFIG_X86_X32_ABI > > Can it be declared __weak instead of enclosing it in an #ifndef ? I really hate the __weak ifdefs. But my plan was to move to a CONFIG_ARCH_COPY_SIGINFO_TO_USER32 and have x86 select it.