clockevents: Add module refcount
We want to be able to remove clockevent modules as well. Add a refcount so we don't remove a module with an active clock event device. Signed-off-by:Thomas Gleixner <tglx@linutronix.de> Cc: John Stultz <john.stultz@linaro.org> Cc: Magnus Damm <magnus.damm@gmail.com> Link: http://lkml.kernel.org/r/20130425143436.307435149@linutronix.de Signed-off-by:
Thomas Gleixner <tglx@linutronix.de>
Showing
- include/linux/clockchips.h 3 additions, 0 deletionsinclude/linux/clockchips.h
- kernel/time/clockevents.c 1 addition, 0 deletionskernel/time/clockevents.c
- kernel/time/tick-broadcast.c 3 additions, 0 deletionskernel/time/tick-broadcast.c
- kernel/time/tick-common.c 4 additions, 0 deletionskernel/time/tick-common.c
Please register or sign in to comment