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

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


Hi Michael,

Good work.  Just one small comment.

On Tue, 28 Jun 2005 09:16:57 +1000 Michael Ellerman <michael at ellerman.id.au> wrote:
>
> --- work.orig/arch/ppc64/kernel/time.c
> +++ work/arch/ppc64/kernel/time.c
> @@ -367,9 +367,8 @@ int timer_interrupt(struct pt_regs * reg
>  
>  #ifdef CONFIG_PPC_ISERIES
>  	{
> -		struct ItLpQueue *lpq = lpaca->lpqueue_ptr;
> -		if (lpq && ItLpQueue_isLpIntPending(lpq))
> -			lpevent_count += ItLpQueue_process(lpq, regs);
> +		if (ItLpQueue_isLpIntPending(&xItLpQueue))
> +			lpevent_count += ItLpQueue_process(&xItLpQueue, regs);
>  	}

You might as well remove the braces and outdent the code.

-- 
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/62dfe7b8/attachment.pgp 


More information about the Linuxppc64-dev mailing list