]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: sun4v: set range
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 22 Mar 2019 07:22:55 +0000 (08:22 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 4 Apr 2019 08:07:10 +0000 (10:07 +0200)
commit80997263dc5c9e8edb6fc7d896db1b3915fbd8bb
tree9442301d74782cf69b0a2634eda9f68c188e6ab0
parenta2c520bc4f61514cf29630ac4f5a8946d240ee95
rtc: sun4v: set range

The Sun4v Hypervisor Core API Specification states:
Time is described by a single unsigned 64-bit word equivalent to a time_t
for the POSIX time(2) system call. The word contains the time since the
Epoch (00:00:00 UTC, January 1, 1970), measured in seconds.

Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-sun4v.c