preempt_disable();
static void iseries_dedicated_idle(void){	long oldval;	while (1) {		oldval = test_and_clear_thread_flag(TIF_NEED_RESCHED);		if (!oldval) {			set_thread_flag(TIF_POLLING_NRFLAG);			while (!need_resched()) {				ppc64_runlatch_off();				HMT_low();				if (hvlpevent_is_pending()) {					HMT_medium();					ppc64_runlatch_on();					process_iSeries_events();				}			}			HMT_medium();			clear_thread_flag(TIF_POLLING_NRFLAG);		} else {			set_need_resched();		}		ppc64_runlatch_on();		schedule();	}}