[PATCH 1/15] ppc64: Remove lpqueue pointer from the paca on iSeries

Stephen Rothwell sfr at canb.auug.org.au
Tue Jun 28 14:47:21 EST 2005


On Tue, 28 Jun 2005 09:16:57 +1000 Michael Ellerman <michael at ellerman.id.au> wrote:
>
> 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 at ellerman.id.au>
Acked-by: Stephen Rothwell <sfr at canb.auug.org.a>

... since my only comment was trivial and can be addressed later.
-- 
Cheers,
Stephen Rothwell                    sfr at canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://ozlabs.org/pipermail/linuxppc64-dev/attachments/20050628/a4d77815/attachment.pgp 


More information about the Linuxppc64-dev mailing list