[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.11.1509300920240.4500@nanos>
Date: Wed, 30 Sep 2015 09:20:52 +0200 (CEST)
From: Thomas Gleixner <tglx@...utronix.de>
To: Arnd Bergmann <arnd@...db.de>
cc: y2038@...ts.linaro.org, John Stultz <john.stultz@...aro.org>,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
Rodolfo Giometti <giometti@...eenne.com>,
linux-net-drivers@...arflare.com,
Shradha Shah <sshah@...arflare.com>,
Richard Cochran <richardcochran@...il.com>
Subject: Re: [PATCH 2/5] ntp/pps: replace getnstime_raw_and_real with 64-bit
version
On Mon, 28 Sep 2015, Arnd Bergmann wrote:
> There is exactly one caller of getnstime_raw_and_real in the kernel,
> which is the pps_get_ts function. This changes the caller and
> the implementation to work on timespec64 types rather than timespec,
> to avoid the time_t overflow on 32-bit architectures.
>
> For consistency with the other new functions (ktime_get_seconds,
> ktime_get_real_*, ...), I'm renaming the function to
> ktime_get_raw_and_real_ts64.
>
> We still need to convert from the internal 64-bit type to 32 bit
> types in the caller, but this conversion is now pushed out from
> getnstime_raw_and_real to pps_get_ts. A follow-up patch changes
> the remaining pps code to completely avoid the conversion.
>
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
Reviewed-by: Thomas Gleixner <tglx@...utronix.de>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists