/* If the events are really what we want to wakeup the CPU, wake it up otherwise put the CPU asleep again.  */
static void wait_for_wakeup_events(void)
/* If the events are really what we want to wakeup the CPU, wake it up otherwise put the CPU asleep again.  */
static void wait_for_wakeup_events(void)
{
	while (!wakeup_loongson())
		LOONGSON_CHIPCFG0 &= ~0x7;
}