extern unsigned long lpevent_count;
int mf_get_boot_rtc(struct rtc_time *tm){	struct ce_msg_comp_data ce_complete;	struct boot_rtc_time_data rtc_data;	int rc;	memset(&ce_complete, 0, sizeof(ce_complete));	memset(&rtc_data, 0, sizeof(rtc_data));	rtc_data.busy = 1;	ce_complete.handler = &get_boot_rtc_time_complete;	ce_complete.token = &rtc_data;	rc = signal_ce_msg_simple(0x40, &ce_complete);	if (rc)		return rc;	/* We need to poll here as we are not yet taking interrupts */	while (rtc_data.busy) {		extern unsigned long lpevent_count;		if (hvlpevent_is_pending())			lpevent_count += process_hvlpevents(NULL);	}	return rtc_set_tm(rtc_data.rc, rtc_data.ce_msg.ce_msg, tm);}