linux/drivers/rtc
john stultz 2c6b47de17 Cleanup non-arch xtime uses, use get_seconds() or current_kernel_time().
This avoids use of the kernel-internal "xtime" variable directly outside
of the actual time-related functions.  Instead, use the helper functions
that we already have available to us.

This doesn't actually change any behaviour, but this will allow us to
fix the fact that "xtime" isn't updated very often with CONFIG_NO_HZ
(because much of the realtime information is maintained as separate
offsets to 'xtime'), which has caused interfaces that use xtime directly
to get a time that is out of sync with the real-time clock by up to a
third of a second or so.

Signed-off-by: John Stultz <johnstul@us.ibm.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-25 10:09:20 -07:00
..
class.c Cleanup non-arch xtime uses, use get_seconds() or current_kernel_time(). 2007-07-25 10:09:20 -07:00
hctosys.c
interface.c
Kconfig rtc: add support for STK17TA8 chip 2007-07-21 17:49:17 -07:00
Makefile rtc: add support for STK17TA8 chip 2007-07-21 17:49:17 -07:00
rtc-at32ap700x.c Driver for the Atmel on-chip RTC on AT32AP700x devices 2007-07-17 10:23:09 -07:00
rtc-at91rm9200.c
rtc-bfin.c
rtc-cmos.c RTC: add periodic irq support to rtc-cmos 2007-07-19 10:04:52 -07:00
rtc-core.h
rtc-dev.c rtc-dev: return -ENOTTY in ioctl if irq_set_freq is not implemented by driver 2007-07-17 10:23:09 -07:00
rtc-ds1216.c RTC driver for DS1216 chips 2007-07-17 10:23:09 -07:00
rtc-ds1307.c rtc-ds1307 becomes new-style i2c driver 2007-07-17 10:23:09 -07:00
rtc-ds1553.c rtc: do not return void value 2007-07-21 17:49:17 -07:00
rtc-ds1672.c
rtc-ds1742.c rtc: do not return void value 2007-07-21 17:49:17 -07:00
rtc-ep93xx.c
rtc-isl1208.c
rtc-lib.c
rtc-m41t80.c rtc: watchdog support for rtc-m41t80 driver 2007-07-17 10:23:09 -07:00
rtc-m48t59.c rtc: add support for the ST M48T59 RTC 2007-07-17 10:23:09 -07:00
rtc-m48t86.c
rtc-max6900.c rtc: update and use the MAX6900 century byte 2007-07-21 17:49:17 -07:00
rtc-max6902.c
rtc-omap.c
rtc-pcf8563.c
rtc-pcf8583.c
rtc-pl031.c
rtc-proc.c
rtc-rs5c313.c
rtc-rs5c348.c
rtc-rs5c372.c rtc-rs5c372 becomes a new-style i2c driver 2007-07-17 10:23:08 -07:00
rtc-s3c.c
rtc-sa1100.c
rtc-sh.c
rtc-stk17ta8.c rtc: add support for STK17TA8 chip 2007-07-21 17:49:17 -07:00
rtc-sysfs.c
rtc-test.c
rtc-v3020.c
rtc-vr41xx.c
rtc-x1205.c