[PATCH] powerpc/pci: Move pseries code into pseries platform specific area

Michael Ellerman michael at ellerman.id.au
Fri May 1 00:49:25 EST 2009


On Thu, 2009-04-30 at 09:14 -0500, Kumar Gala wrote:
> There doesn't appear to be any specific reason that we need to setup the
> pseries specific notifier in generic arch pci code.  Move it into pseries
> land.

Yeah I guess. Although if some other platform ever wants to do PCI
hotplug it probably wants to call update_dn_pci_info() also.

> --- a/arch/powerpc/platforms/pseries/setup.c
> +++ b/arch/powerpc/platforms/pseries/setup.c
> @@ -254,6 +255,31 @@ static void __init pseries_discover_pic(void)
>                " interrupt-controller\n");
>  }
>  
> +extern void * update_dn_pci_info(struct device_node *dn, void *data);

Ahem :)

cheers
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20090501/7721553c/attachment.pgp>


More information about the Linuxppc-dev mailing list