From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 405C9C282DD for ; Wed, 8 Jan 2020 15:34:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1CA9820673 for ; Wed, 8 Jan 2020 15:34:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728941AbgAHPek (ORCPT ); Wed, 8 Jan 2020 10:34:40 -0500 Received: from Galois.linutronix.de ([193.142.43.55]:50432 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727260AbgAHPej (ORCPT ); Wed, 8 Jan 2020 10:34:39 -0500 Received: from p5b06da22.dip0.t-ipconnect.de ([91.6.218.34] helo=nanos.tec.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1ipDLt-0001th-CA; Wed, 08 Jan 2020 16:34:33 +0100 Received: by nanos.tec.linutronix.de (Postfix, from userid 1000) id CC2F51060B2; Wed, 8 Jan 2020 16:34:32 +0100 (CET) From: Thomas Gleixner To: Arnd Bergmann , "David S. Miller" Cc: Julian Calaby , Arnd Bergmann , John Stultz , Stephen Boyd , "Eric W. Biederman" , Deepa Dinamani , sparclinux@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] y2038: sparc: remove use of struct timex In-Reply-To: <20191216144907.1931511-1-arnd@arndb.de> References: <20191216144907.1931511-1-arnd@arndb.de> Date: Wed, 08 Jan 2020 16:34:32 +0100 Message-ID: <871rsaezcn.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Arnd Bergmann writes: > 'struct timex' is one of the last users of 'struct timeval' and is > only referenced in one place in the kernel any more, to convert the > user space timex into the kernel-internal version on sparc64, with a > different tv_usec member type. > > As a preparation for hiding the time_t definition and everything > using that in the kernel, change the implementation once more > to only convert the timeval member, and then enclose the > struct definition in an #ifdef. > > Signed-off-by: Arnd Bergmann Acked-by: Thomas Gleixner