[PATCH] [KDB] Fix build break in kdbasupport

Stephen Rothwell sfr at canb.auug.org.au
Thu Aug 19 22:40:24 EST 2004

On Thu, 19 Aug 2004 21:37:46 +1000 Paul Mackerras <paulus at samba.org> wrote:
> arch/ppc64/kdb/kdbasupport.c: In function `kdba_dump_pci_info':
> arch/ppc64/kdb/kdbasupport.c:1594: warning: implicit declaration of function `traverse_all_pci_devices'
> with that patch (I didn't try without). True it's only a warning but
> it would be good to fix that too while you're at it.

My previous patch "PPC64 pci_dn cleanups" removed the declaration of that
function from kernel/pci.h and made it static ... I was working against
Linus' tree and so didn't see that kdb used it.

However, the include of "../kernel/pci.h" in kdb/kdbasupport.c should be
fixed up (as well as unstatic'ing traverse_all_pci_devices).
Stephen Rothwell                    sfr at canb.auug.org.au

** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/

More information about the Linuxppc64-dev mailing list