clocksource: clocksource_select must be called with mutex locked
authorThomas Gleixner <tglx@linutronix.de>
Mon, 14 Sep 2009 17:51:11 +0000 (19:51 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 14 Sep 2009 19:59:32 +0000 (21:59 +0200)
commite6c733050faa93ce616bfedccd279ab12cffdd7b
tree03a1b49744d5aacd98d9e26b0769acb90a38dfac
parentf79e0258ea1f04d63db499479b5fb855dff6dbc5
clocksource: clocksource_select must be called with mutex locked

The callers of clocksource_select must hold clocksource_mutex to
protect the clocksource_list.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
LKML-Reference: <new-submission>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
kernel/time/clocksource.c