Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp605193imu; Fri, 25 Jan 2019 07:48:20 -0800 (PST) X-Google-Smtp-Source: ALg8bN5Cl+1b0EZVkiRDhjV1e/JdBmDSgxyb+UuxWAcEtB8nNTo06DvAcOhLnsTUw5Z9sv7kKmFp X-Received: by 2002:a63:5518:: with SMTP id j24mr10234530pgb.208.1548431300288; Fri, 25 Jan 2019 07:48:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548431300; cv=none; d=google.com; s=arc-20160816; b=ZFZgkaagCugmv+iWNsQ2EqBbi4Dy2CZB/jDJc3Bre7SRY58e2SwqbLX59epQ8aJGnU OG/xLuo1Ctl/djQZ7sMa+HqHmmDfKJzlEGH+KWgzgBR0QjD61d2a5KUojJo7H0CHHbIV HuSaN/Ec7FAQzhcg59MfQsaMPEMkv1aOjoyMoZcxpxeYIWbtU4ATovNzje10j+LbZY8b wmZ2Pf7dmltYUk0/NLfaGVN31WspQBwid4oO6CMYrnhrbvIqut/Br5bqpoZYSuXE/5fd PBaTgbUWKAibm7LI+enM0fI8MBn4lGtjU3FLhVKvSinvZfOptGoBG0R0RORygGjoUkHI hYOg== 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=S5GKcjlZQKJ+CcHPGTvsU5nsvqe1kLktPXJwqcFAb+M=; b=U2scj0an6dxIT/4yq7gnAN8FMNtP589wp2YjzD6RDx9ss6Fnwv079LULd//a0t57fh WVMnDa6mG/g0y+NE54tw1wfQbgjbZQEKaQy/oCQB9nUM8LnJGCl7H2OtWdvaBgzOTgbk jA0HAnsfstee7J3kmito0sT4VEv1UEgQ3tVBStwsaJGDVPLtkAV3fTMhHk6G/XOndHKR EB5ZuzFDqBF7lLW9GLaSNVsp6g1arYduWm9AB7JMhDh6g1CkexUvrU/5XcVMQvwO1/Yv /z1W2yKoOxfYUQSw8gg8kDLNUDO3vmYCYf910F0MJUhOziycC/dXkh+3uC5ZRiUzyX4f E8Cw== 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 o8si25298059plk.28.2019.01.25.07.48.05; Fri, 25 Jan 2019 07:48:20 -0800 (PST) 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 S1728632AbfAYPrg (ORCPT + 99 others); Fri, 25 Jan 2019 10:47:36 -0500 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:49316 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726122AbfAYPrf (ORCPT ); Fri, 25 Jan 2019 10:47:35 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 9BA87A78; Fri, 25 Jan 2019 07:47:34 -0800 (PST) Received: from arrakis.emea.arm.com (arrakis.cambridge.arm.com [10.1.196.113]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 313463F5AF; Fri, 25 Jan 2019 07:47:28 -0800 (PST) Date: Fri, 25 Jan 2019 15:47:25 +0000 From: Catalin Marinas To: Arnd Bergmann Cc: y2038@lists.linaro.org, linux-api@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, mattst88@gmail.com, linux@armlinux.org.uk, will.deacon@arm.com, tony.luck@intel.com, fenghua.yu@intel.com, geert@linux-m68k.org, monstr@monstr.eu, paul.burton@mips.com, deller@gmx.de, benh@kernel.crashing.org, mpe@ellerman.id.au, schwidefsky@de.ibm.com, heiko.carstens@de.ibm.com, dalias@libc.org, davem@davemloft.net, luto@kernel.org, tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, x86@kernel.org, jcmvbkbc@gmail.com, akpm@linux-foundation.org, deepa.kernel@gmail.com, ebiederm@xmission.com, firoz.khan@linaro.org, linux-alpha@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-ia64@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org, netdev@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH v2 25/29] y2038: syscalls: rename y2038 compat syscalls Message-ID: <20190125154724.GH25901@arrakis.emea.arm.com> References: <20190118161835.2259170-1-arnd@arndb.de> <20190118161835.2259170-26-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190118161835.2259170-26-arnd@arndb.de> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 18, 2019 at 05:18:31PM +0100, Arnd Bergmann wrote: > A lot of system calls that pass a time_t somewhere have an implementation > using a COMPAT_SYSCALL_DEFINEx() on 64-bit architectures, and have > been reworked so that this implementation can now be used on 32-bit > architectures as well. > > The missing step is to redefine them using the regular SYSCALL_DEFINEx() > to get them out of the compat namespace and make it possible to build them > on 32-bit architectures. > > Any system call that ends in 'time' gets a '32' suffix on its name for > that version, while the others get a '_time32' suffix, to distinguish > them from the normal version, which takes a 64-bit time argument in the > future. > > In this step, only 64-bit architectures are changed, doing this rename > first lets us avoid touching the 32-bit architectures twice. > > Signed-off-by: Arnd Bergmann For arm64: Acked-by: Catalin Marinas