]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/ppc64/kernel/mf.c
Allow PCI config space syscalls to be used by 64-bit processes.
[linux-2.6-omap-h63xx.git] / arch / ppc64 / kernel / mf.c
index d98bebf7042faf990e63a8732c8dab4c91991033..ef4a338ebd01540ded3d27515de87e94c68dee81 100644 (file)
@@ -801,10 +801,8 @@ int mf_get_boot_rtc(struct rtc_time *tm)
                return rc;
        /* We need to poll here as we are not yet taking interrupts */
        while (rtc_data.busy) {
-               extern unsigned long lpevent_count;
-               struct ItLpQueue *lpq = get_paca()->lpqueue_ptr;
-               if (lpq && ItLpQueue_isLpIntPending(lpq))
-                       lpevent_count += ItLpQueue_process(lpq, NULL);
+               if (hvlpevent_is_pending())
+                       process_hvlpevents(NULL);
        }
        return rtc_set_tm(rtc_data.rc, rtc_data.ce_msg.ce_msg, tm);
 }