[PATCH] ppc64: Remove lpqueue pointer from the paca on iSeries
authorMichael Ellerman <michael@ellerman.id.au>
Thu, 30 Jun 2005 05:07:09 +0000 (15:07 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 30 Jun 2005 05:07:09 +0000 (15:07 +1000)
commitbea248fb30c3122ece8c34798527fac431c1d7b0
tree9158d7a089312f92abcb6c8d5a8d942d543be24b
parentb1bdfbd0a29d6da4dbe42736faac02c43a9afe76
[PATCH] ppc64: Remove lpqueue pointer from the paca on iSeries

The iSeries code keeps a pointer to the ItLpQueue in its paca struct. But
all these pointers end up pointing to the one place, ie. xItLpQueue.

So remove the pointer from the paca struct and just refer to xItLpQueue
directly where needed.

The only complication is that the spread_lpevents logic was implemented by
having a NULL lpqueue pointer in the paca on CPUs that weren't supposed to
process events. Instead we just compare the spread_lpevents value to the
processor id to get the same behaviour.

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>
arch/ppc64/kernel/ItLpQueue.c
arch/ppc64/kernel/iSeries_setup.c
arch/ppc64/kernel/idle.c
arch/ppc64/kernel/irq.c
arch/ppc64/kernel/mf.c
arch/ppc64/kernel/pacaData.c
arch/ppc64/kernel/time.c
include/asm-ppc64/paca.h