From: Thomas Gleixner Date: Wed, 08 Jan 2020 15:34:32 +0000 Subject: Re: [PATCH v2] y2038: sparc: remove use of struct timex Message-Id: <871rsaezcn.fsf@nanos.tec.linutronix.de> List-Id: References: <20191216144907.1931511-1-arnd@arndb.de> In-Reply-To: <20191216144907.1931511-1-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Arnd Bergmann , "David S. Miller" Cc: Julian Calaby , John Stultz , Stephen Boyd , "Eric W. Biederman" , Deepa Dinamani , sparclinux@vger.kernel.org, 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