Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'timers-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip

* 'timers-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
clockevents: check broadcast tick device not the clock events device

+4 -2
+4 -2
kernel/time/tick-broadcast.c
··· 235 235 case CLOCK_EVT_NOTIFY_BROADCAST_FORCE: 236 236 if (!cpu_isset(cpu, tick_broadcast_mask)) { 237 237 cpu_set(cpu, tick_broadcast_mask); 238 - if (bc->mode == TICKDEV_MODE_PERIODIC) 238 + if (tick_broadcast_device.mode == 239 + TICKDEV_MODE_PERIODIC) 239 240 clockevents_shutdown(dev); 240 241 } 241 242 if (*reason == CLOCK_EVT_NOTIFY_BROADCAST_FORCE) ··· 246 245 if (!tick_broadcast_force && 247 246 cpu_isset(cpu, tick_broadcast_mask)) { 248 247 cpu_clear(cpu, tick_broadcast_mask); 249 - if (bc->mode == TICKDEV_MODE_PERIODIC) 248 + if (tick_broadcast_device.mode == 249 + TICKDEV_MODE_PERIODIC) 250 250 tick_setup_periodic(dev, 0); 251 251 } 252 252 break;