[PATCH 5/15] ppc64: Move initialisation of xItLpQueue into ItLpQueue.c

Stephen Rothwell sfr at canb.auug.org.au
Tue Jun 28 15:08:20 EST 2005


On Tue, 28 Jun 2005 09:17:24 +1000 Michael Ellerman <michael at ellerman.id.au> wrote:
>
> The xItLpQueue is initalised manually in iSeries_setup_arch(). Move this code
> into ItLpQueue.c for a cleaner seperation.
> 
> Signed-off-by: Michael Ellerman <michael at ellerman.id.au>
Acked-by: Stephen Rothwell <sfr at canb.auug.org.au>

> +++ work/arch/ppc64/kernel/ItLpQueue.c
> @@ -11,6 +11,7 @@
>  #include <linux/stddef.h>
>  #include <linux/kernel.h>
>  #include <linux/sched.h>
> +#include <linux/bootmem.h>

You can probably remove the include of bootmem.h from iSeries_setup.c.

> +	/*
> +	 * Allocate a page for the Event Stack. The Hypervisor needs the
> +	 * absolute real address, so we subtract out the KERNELBASE and add
> +	 * in the absolute real address of the kernel load area.
> +	 */

I don't think this comment is relevant to the code below.

> +	hvlpevent_queue_setup();

Maybe just hvlpevent_setup()?

-- 
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/6603707e/attachment.pgp 


More information about the Linuxppc64-dev mailing list