601
642
* If @count is equal to the current number of registered wakeup events and the
602
643
* current number of wakeup events being processed is zero, store @count as the
606
648
bool pm_save_wakeup_count(unsigned int count)
610
653
spin_lock_irq(&events_lock);
614
657
events_check_enabled = true;
617
659
spin_unlock_irq(&events_lock);
619
661
pm_wakeup_update_hit_counts();
623
665
static struct dentry *wakeup_sources_stats_dentry;