diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2005-06-30 01:07:57 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-06-30 01:07:57 -0400 |
commit | 1b19bc721416ae5bc813521d9e010a89f4816120 (patch) | |
tree | 7034c878cdc370cb16b83957b652f6c2b95630d5 /arch/ppc64/kernel/time.c | |
parent | ee48444b85f498d99592835f61125385d8e9c975 (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/time.c')
-rw-r--r-- | arch/ppc64/kernel/time.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/ppc64/kernel/time.c b/arch/ppc64/kernel/time.c index cdc43afb563e..c133f9c28c57 100644 --- a/arch/ppc64/kernel/time.c +++ b/arch/ppc64/kernel/time.c | |||
@@ -367,8 +367,8 @@ int timer_interrupt(struct pt_regs * regs) | |||
367 | set_dec(next_dec); | 367 | set_dec(next_dec); |
368 | 368 | ||
369 | #ifdef CONFIG_PPC_ISERIES | 369 | #ifdef CONFIG_PPC_ISERIES |
370 | if (ItLpQueue_isLpIntPending(&xItLpQueue)) | 370 | if (ItLpQueue_isLpIntPending()) |
371 | lpevent_count += ItLpQueue_process(&xItLpQueue, regs); | 371 | lpevent_count += ItLpQueue_process(regs); |
372 | #endif | 372 | #endif |
373 | 373 | ||
374 | /* collect purr register values often, for accurate calculations */ | 374 | /* collect purr register values often, for accurate calculations */ |