Esempio n. 1
0
static void timer_stop(void)
{
	enable_timer_nmi_watchdog();
	unset_nmi_callback();
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,15)
	synchronize_sched();  /* Allow already-started NMIs to complete. */
#else
	synchronize_kernel();
#endif

#ifdef RRPROFILE
	disable_poll_idle();
#endif // RRPROFILE
}
Esempio n. 2
0
static void timer_stop(void)
{
	enable_timer_nmi_watchdog();
	unset_nmi_callback();
	synchronize_kernel();
}