clocksource: add unregister function to disable unusable clocksources
authorThomas Gleixner <tglx@linutronix.de>
Wed, 30 Jan 2008 12:30:02 +0000 (13:30 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:30:02 +0000 (13:30 +0100)
commit4713e22ce81eb8b3353e16435362eb3d0ec95640
tree6f96151bd9b182d6b9d706d3ad3b4fe8c99e7f7e
parent316da3b3fc8efa9a5d2c99e0d449f01ff38c6aba
clocksource: add unregister function to disable unusable clocksources

On x86 the PIT might become an unusable clocksource. Add an unregister
function to provide a possibilty to remove the PIT from the list of
available clock sources.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/i8253.c
include/linux/clocksource.h
kernel/time/clocksource.c