diff options
Diffstat (limited to 'arch/ppc64/kernel/mf.c')
-rw-r--r-- | arch/ppc64/kernel/mf.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/ppc64/kernel/mf.c b/arch/ppc64/kernel/mf.c index d98bebf7042f..d6a297a4feb3 100644 --- a/arch/ppc64/kernel/mf.c +++ b/arch/ppc64/kernel/mf.c | |||
@@ -802,9 +802,8 @@ int mf_get_boot_rtc(struct rtc_time *tm) | |||
802 | /* We need to poll here as we are not yet taking interrupts */ | 802 | /* We need to poll here as we are not yet taking interrupts */ |
803 | while (rtc_data.busy) { | 803 | while (rtc_data.busy) { |
804 | extern unsigned long lpevent_count; | 804 | extern unsigned long lpevent_count; |
805 | struct ItLpQueue *lpq = get_paca()->lpqueue_ptr; | 805 | if (ItLpQueue_isLpIntPending(&xItLpQueue)) |
806 | if (lpq && ItLpQueue_isLpIntPending(lpq)) | 806 | lpevent_count += ItLpQueue_process(&xItLpQueue, NULL); |
807 | lpevent_count += ItLpQueue_process(lpq, NULL); | ||
808 | } | 807 | } |
809 | return rtc_set_tm(rtc_data.rc, rtc_data.ce_msg.ce_msg, tm); | 808 | return rtc_set_tm(rtc_data.rc, rtc_data.ce_msg.ce_msg, tm); |
810 | } | 809 | } |