aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ppc64/kernel/mf.c
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2005-06-30 01:07:57 -0400
committerPaul Mackerras <paulus@samba.org>2005-06-30 01:07:57 -0400
commit1b19bc721416ae5bc813521d9e010a89f4816120 (patch)
tree7034c878cdc370cb16b83957b652f6c2b95630d5 /arch/ppc64/kernel/mf.c
parentee48444b85f498d99592835f61125385d8e9c975 (diff)
[PATCH] ppc64: Don't pass the pointers to xItLpQueue around
Because there's only one ItLpQueue and we know where it is, ie. xItLpQueue, there's no point passing pointers to it it around all over the place. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Acked-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/ppc64/kernel/mf.c')
-rw-r--r--arch/ppc64/kernel/mf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/ppc64/kernel/mf.c b/arch/ppc64/kernel/mf.c
index d6a297a4feb3..ef9206998028 100644
--- a/arch/ppc64/kernel/mf.c
+++ b/arch/ppc64/kernel/mf.c
@@ -802,8 +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 if (ItLpQueue_isLpIntPending(&xItLpQueue)) 805 if (ItLpQueue_isLpIntPending())
806 lpevent_count += ItLpQueue_process(&xItLpQueue, NULL); 806 lpevent_count += ItLpQueue_process(NULL);
807 } 807 }
808 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);
809} 809}