| Date | Thu, 25 Apr 2013 20:31:42 -0000 | From | Thomas Gleixner <> | Subject | [patch 00/15] clocksource/events: Overhaul (un)registration |
| |
The clocksource_unregister() interface is broken. A clocksource can be removed unconditionally even if there is no fallback clocksource available. clocksources in a module can be removed as well. Aside of that the registration part lacks a few sanity checks as well.
The clockevents layer does not allow unregistration, but for reconfigurable hardware this is a must have feature.
The following patch series fixes the clocksource part and adds unregister support for clockevent devices.
Thanks,
tglx --- drivers/clocksource/dw_apb_timer.c | 12 - include/linux/clockchips.h | 4 include/linux/clocksource.h | 7 include/linux/dw_apb_timer.h | 1 kernel/time/clockevents.c | 271 ++++++++++++++++++++++++++++++++----- kernel/time/clocksource.c | 190 +++++++++++++++++++------ kernel/time/tick-broadcast.c | 33 +++- kernel/time/tick-common.c | 189 +++++++++---------------- kernel/time/tick-internal.h | 17 +- kernel/time/timekeeping.c | 20 +- 10 files changed, 514 insertions(+), 230 deletions(-)
|