[PATCH] [correction] promote hose_list to an "official" list
Paul Mackerras
paulus at samba.org
Fri Aug 20 20:16:55 EST 2004
John Rose writes:
> On second thought, no need to externalize the list to
> include/asm-ppc64/pci.h. Here's a corrected patch.
>
> This patch changes hose_list from a simple linked list to a
> "list.h"-style list. This is in preparation for the runtime
> addition/removal of PCI Host Bridges.
I get lots of errors compiling this, starting with:
arch/ppc64/kernel/pmac_pci.c: In function `pmac_fixup_phb_resources':
arch/ppc64/kernel/pmac_pci.c:677: error: `phb' undeclared (first use in this function)
arch/ppc64/kernel/pmac_pci.c:677: error: (Each undeclared identifier is reported only once
arch/ppc64/kernel/pmac_pci.c:677: error: for each function it appears in.)
arch/ppc64/kernel/pmac_pci.c:677: warning: type defaults to `int' in declaration of `type name'
arch/ppc64/kernel/pmac_pci.c:677: error: request for member `list_node' in something not a structure or union
This is with g5_defconfig (which needs updating :-P).
Send me a revised patch, please.
Regards,
Paul.
** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc64-dev
mailing list