diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2008-09-03 21:37:08 +0000 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2008-09-05 11:11:52 +0200 |
commit | 9c17bcda991000351cb2373f78be7e4b1c44caa3 (patch) | |
tree | 769385b50e512a3aafa8735be23c199bf83c56e7 /kernel/time/tick-oneshot.c | |
parent | 7205656ab48da29a95d7f55e43a81db755d3cb3a (diff) |
clockevents: prevent multiple init/shutdown
While chasing the C1E/HPET bugreports I went through the clock events
code inch by inch and found that the broadcast device can be initialized
and shutdown multiple times. Multiple shutdowns are not critical, but
useless waste of time. Multiple initializations are simply broken. Another
CPU might have the device in use already after the first initialization and
the second init could just render it unusable again.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/time/tick-oneshot.c')
0 files changed, 0 insertions, 0 deletions