mirror of
https://github.com/torvalds/linux.git
synced 2024-10-31 17:21:49 +00:00
0606f422b4
This patch adds support for adding and removing posix clocks. The clock lifetime cycle is patterned after usb devices. Each clock is represented by a standard character device. In addition, the driver may optionally implement custom character device operations. The posix clock and timer system calls listed below now work with dynamic posix clocks, as well as the traditional static clocks. The following system calls are affected: - clock_adjtime (brand new syscall) - clock_gettime - clock_getres - clock_settime - timer_create - timer_delete - timer_gettime - timer_settime [ tglx: Adapted to the posix-timer cleanup. Moved clock_posix_dynamic to posix-clock.c and made all referenced functions static ] Signed-off-by: Richard Cochran <richard.cochran@omicron.at> Acked-by: John Stultz <johnstul@us.ibm.com> LKML-Reference: <20110201134420.164172635@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
10 lines
426 B
Makefile
10 lines
426 B
Makefile
obj-y += timekeeping.o ntp.o clocksource.o jiffies.o timer_list.o timecompare.o
|
|
obj-y += timeconv.o posix-clock.o
|
|
|
|
obj-$(CONFIG_GENERIC_CLOCKEVENTS_BUILD) += clockevents.o
|
|
obj-$(CONFIG_GENERIC_CLOCKEVENTS) += tick-common.o
|
|
obj-$(CONFIG_GENERIC_CLOCKEVENTS_BROADCAST) += tick-broadcast.o
|
|
obj-$(CONFIG_TICK_ONESHOT) += tick-oneshot.o
|
|
obj-$(CONFIG_TICK_ONESHOT) += tick-sched.o
|
|
obj-$(CONFIG_TIMER_STATS) += timer_stats.o
|