lkml.org 
[lkml]   [2013]   [Apr]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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(-)




\
 
 \ /
  Last update: 2013-04-25 23:21    [W:0.794 / U:1.832 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site