static void sh7750_perf_counter_stop(void) { ctrl_outw(ctrl_inw(PMCR1) & ~PMCR_PMEN, PMCR1); ctrl_outw(ctrl_inw(PMCR2) & ~PMCR_PMEN, PMCR2); unregister_profile_notifier(&sh7750_timer_notifier); }
static void timer_stop(void) { unregister_profile_notifier(&timer_notifier); }