tick-broadcast: Stop active broadcast device when replacing it
authorThomas Gleixner <tglx@linutronix.de>
Fri, 2 Dec 2011 11:34:16 +0000 (12:34 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 9 Dec 2011 16:55:52 +0000 (08:55 -0800)
commit491d3a9bc2ee7ad349a2e03bf259dea8895a5edd
treea2e60b1d6ee734f39ac7b1fa40d0358bf43c3dba
parentfedb66b50d774dc687ac5b6f78fbf4b9bee28865
tick-broadcast: Stop active broadcast device when replacing it

commit c1be84309c58b1e7c6d626e28fba41a22b364c3d upstream.

When a better rated broadcast device is installed, then the current
active device is not disabled, which results in two running broadcast
devices.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
kernel/time/tick-broadcast.c