/* clockevents_register_notifier - register a clock events change listener  */
int clockevents_register_notifier(struct notifier_block *nb)
/* clockevents_register_notifier - register a clock events change listener  */
int clockevents_register_notifier(struct notifier_block *nb)
{
	unsigned long flags;
	int ret;
	raw_spin_lock_irqsave(&clockevents_lock, flags);
	ret = raw_notifier_chain_register(&clockevents_chain, nb);
	raw_spin_unlock_irqrestore(&clockevents_lock, flags);
	return ret;
}