From: Michael Ellerman <michael@ellerman.id.au>
To: subrata@linux.vnet.ibm.com
Cc: sachinp <sachinp@linux.vnet.ibm.com>,
Stephen Rothwell <sfr@canb.auug.org.au>,
linux-kernel <linux-kernel@vger.kernel.org>,
"Rafael J. Wysocki" <rjw@sisk.pl>,
Linuxppc-dev <Linuxppc-dev@ozlabs.org>,
linux-next <linux-next@vger.kernel.org>,
Alexander Beregalov <a.beregalov@gmail.com>
Subject: Re: [BUILD FAILURE 02/12] Next April 14 : PPC64 randconfig [arch/powerpc/kernel/of_platform.c]
Date: Wed, 15 Apr 2009 11:37:04 +1000 [thread overview]
Message-ID: <1239759424.6552.3.camel@localhost> (raw)
In-Reply-To: <1239733694.5344.74.camel@subratamodak.linux.ibm.com>
[-- Attachment #1.1: Type: text/plain, Size: 1249 bytes --]
On Tue, 2009-04-14 at 23:58 +0530, Subrata Modak wrote:
> Observed the following build error:
> ---
> arch/powerpc/kernel/of_platform.c: In function ‘of_pci_phb_probe’:
> arch/powerpc/kernel/of_platform.c:270: error: implicit declaration of
> function ‘pci_devs_phb_init_dynamic’
> arch/powerpc/kernel/of_platform.c:279: error: implicit declaration of
> function ‘scan_phb’
> arch/powerpc/kernel/of_platform.c:295: error: implicit declaration of
> function ‘pci_bus_add_devices’
> make[1]: *** [arch/powerpc/kernel/of_platform.o] Error 1
> make: *** [arch/powerpc/kernel] Error 2
> ---
>
> I saw some discussion(s) happening last year, but could not find out if
> some fixes are already available:
> http://www.mail-archive.com/linuxppc-dev@ozlabs.org/msg26215.html,
It's a different problem.
You have CONFIG_PPC_OF_PLATFORM_PCI=y but CONFIG_PCI=n.
That's because PPC_CELL_NATIVE selects PLATFORM_PCI, without regard to
whether PCI is enabled.
cheers
--
Michael Ellerman
OzLabs, IBM Australia Development Lab
wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)
We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person
[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
[-- Attachment #2: Type: text/plain, Size: 146 bytes --]
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev
WARNING: multiple messages have this Message-ID (diff)
From: Michael Ellerman <michael@ellerman.id.au>
To: subrata@linux.vnet.ibm.com
Cc: sachinp <sachinp@linux.vnet.ibm.com>,
Stephen Rothwell <sfr@canb.auug.org.au>,
linux-kernel <linux-kernel@vger.kernel.org>,
"Rafael J. Wysocki" <rjw@sisk.pl>,
Linuxppc-dev <Linuxppc-dev@ozlabs.org>,
linux-next <linux-next@vger.kernel.org>,
Alexander Beregalov <a.beregalov@gmail.com>
Subject: Re: [BUILD FAILURE 02/12] Next April 14 : PPC64 randconfig [arch/powerpc/kernel/of_platform.c]
Date: Wed, 15 Apr 2009 11:37:04 +1000 [thread overview]
Message-ID: <1239759424.6552.3.camel@localhost> (raw)
In-Reply-To: <1239733694.5344.74.camel@subratamodak.linux.ibm.com>
[-- Attachment #1: Type: text/plain, Size: 1249 bytes --]
On Tue, 2009-04-14 at 23:58 +0530, Subrata Modak wrote:
> Observed the following build error:
> ---
> arch/powerpc/kernel/of_platform.c: In function ‘of_pci_phb_probe’:
> arch/powerpc/kernel/of_platform.c:270: error: implicit declaration of
> function ‘pci_devs_phb_init_dynamic’
> arch/powerpc/kernel/of_platform.c:279: error: implicit declaration of
> function ‘scan_phb’
> arch/powerpc/kernel/of_platform.c:295: error: implicit declaration of
> function ‘pci_bus_add_devices’
> make[1]: *** [arch/powerpc/kernel/of_platform.o] Error 1
> make: *** [arch/powerpc/kernel] Error 2
> ---
>
> I saw some discussion(s) happening last year, but could not find out if
> some fixes are already available:
> http://www.mail-archive.com/linuxppc-dev@ozlabs.org/msg26215.html,
It's a different problem.
You have CONFIG_PPC_OF_PLATFORM_PCI=y but CONFIG_PCI=n.
That's because PPC_CELL_NATIVE selects PLATFORM_PCI, without regard to
whether PCI is enabled.
cheers
--
Michael Ellerman
OzLabs, IBM Australia Development Lab
wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)
We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: Michael Ellerman <michael@ellerman.id.au>
To: subrata@linux.vnet.ibm.com
Cc: Linuxppc-dev <Linuxppc-dev@ozlabs.org>,
Benjamin Herrenschmidt <benh@kernel.crashing.org>,
sachinp <sachinp@linux.vnet.ibm.com>,
Stephen Rothwell <sfr@canb.auug.org.au>,
linux-kernel <linux-kernel@vger.kernel.org>,
"Rafael J. Wysocki" <rjw@sisk.pl>,
linux-next <linux-next@vger.kernel.org>,
Alexander Beregalov <a.beregalov@gmail.com>
Subject: Re: [BUILD FAILURE 02/12] Next April 14 : PPC64 randconfig [arch/powerpc/kernel/of_platform.c]
Date: Wed, 15 Apr 2009 11:37:04 +1000 [thread overview]
Message-ID: <1239759424.6552.3.camel@localhost> (raw)
In-Reply-To: <1239733694.5344.74.camel@subratamodak.linux.ibm.com>
[-- Attachment #1: Type: text/plain, Size: 1249 bytes --]
On Tue, 2009-04-14 at 23:58 +0530, Subrata Modak wrote:
> Observed the following build error:
> ---
> arch/powerpc/kernel/of_platform.c: In function ‘of_pci_phb_probe’:
> arch/powerpc/kernel/of_platform.c:270: error: implicit declaration of
> function ‘pci_devs_phb_init_dynamic’
> arch/powerpc/kernel/of_platform.c:279: error: implicit declaration of
> function ‘scan_phb’
> arch/powerpc/kernel/of_platform.c:295: error: implicit declaration of
> function ‘pci_bus_add_devices’
> make[1]: *** [arch/powerpc/kernel/of_platform.o] Error 1
> make: *** [arch/powerpc/kernel] Error 2
> ---
>
> I saw some discussion(s) happening last year, but could not find out if
> some fixes are already available:
> http://www.mail-archive.com/linuxppc-dev@ozlabs.org/msg26215.html,
It's a different problem.
You have CONFIG_PPC_OF_PLATFORM_PCI=y but CONFIG_PCI=n.
That's because PPC_CELL_NATIVE selects PLATFORM_PCI, without regard to
whether PCI is enabled.
cheers
--
Michael Ellerman
OzLabs, IBM Australia Development Lab
wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)
We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
next prev parent reply other threads:[~2009-04-15 1:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-14 18:28 [BUILD FAILURE 02/12] Next April 14 : PPC64 randconfig [arch/powerpc/kernel/of_platform.c] Subrata Modak
2009-04-14 18:28 ` Subrata Modak
2009-04-15 1:37 ` Michael Ellerman [this message]
2009-04-15 1:37 ` Michael Ellerman
2009-04-15 1:37 ` Michael Ellerman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1239759424.6552.3.camel@localhost \
--to=michael@ellerman.id.au \
--cc=Linuxppc-dev@ozlabs.org \
--cc=a.beregalov@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=rjw@sisk.pl \
--cc=sachinp@linux.vnet.ibm.com \
--cc=sfr@canb.auug.org.au \
--cc=subrata@linux.vnet.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.