From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Ellerman 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 Message-ID: <1239759424.6552.3.camel@localhost> References: <1239733694.5344.74.camel@subratamodak.linux.ibm.com> Reply-To: michael@ellerman.id.au Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0718353745==" Return-path: In-Reply-To: <1239733694.5344.74.camel@subratamodak.linux.ibm.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: linuxppc-dev-bounces+glppe-linuxppc-embedded-2=m.gmane.org@ozlabs.org Errors-To: linuxppc-dev-bounces+glppe-linuxppc-embedded-2=m.gmane.org@ozlabs.org To: subrata@linux.vnet.ibm.com Cc: sachinp , Stephen Rothwell , linux-kernel , "Rafael J. Wysocki" , Linuxppc-dev , linux-next , Alexander Beregalov List-Id: linux-next.vger.kernel.org --===============0718353745== Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-C56sA11F81bV6PHagl9g" --=-C56sA11F81bV6PHagl9g Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 =E2=80=98of_pci_phb_probe= =E2=80=99: > arch/powerpc/kernel/of_platform.c:270: error: implicit declaration of > function =E2=80=98pci_devs_phb_init_dynamic=E2=80=99 > arch/powerpc/kernel/of_platform.c:279: error: implicit declaration of > function =E2=80=98scan_phb=E2=80=99 > arch/powerpc/kernel/of_platform.c:295: error: implicit declaration of > function =E2=80=98pci_bus_add_devices=E2=80=99 > make[1]: *** [arch/powerpc/kernel/of_platform.o] Error 1 > make: *** [arch/powerpc/kernel] Error 2 > --- >=20 > 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=3Dy but CONFIG_PCI=3Dn. That's because PPC_CELL_NATIVE selects PLATFORM_PCI, without regard to whether PCI is enabled. cheers --=20 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 --=-C56sA11F81bV6PHagl9g Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAknlOkAACgkQdSjSd0sB4dKdvwCeNza0BCxAlZpKDjbrB+WWjZsZ +YcAnRH6DrWI+DhUvfBcj1N3kggIlsfj =tj4p -----END PGP SIGNATURE----- --=-C56sA11F81bV6PHagl9g-- --===============0718353745== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev --===============0718353745==-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Re: [BUILD FAILURE 02/12] Next April 14 : PPC64 randconfig [arch/powerpc/kernel/of_platform.c] From: Michael Ellerman To: subrata@linux.vnet.ibm.com In-Reply-To: <1239733694.5344.74.camel@subratamodak.linux.ibm.com> References: <1239733694.5344.74.camel@subratamodak.linux.ibm.com> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-C56sA11F81bV6PHagl9g" Date: Wed, 15 Apr 2009 11:37:04 +1000 Message-Id: <1239759424.6552.3.camel@localhost> Mime-Version: 1.0 Cc: sachinp , Stephen Rothwell , linux-kernel , "Rafael J. Wysocki" , Linuxppc-dev , linux-next , Alexander Beregalov Reply-To: michael@ellerman.id.au List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , --=-C56sA11F81bV6PHagl9g Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 =E2=80=98of_pci_phb_probe= =E2=80=99: > arch/powerpc/kernel/of_platform.c:270: error: implicit declaration of > function =E2=80=98pci_devs_phb_init_dynamic=E2=80=99 > arch/powerpc/kernel/of_platform.c:279: error: implicit declaration of > function =E2=80=98scan_phb=E2=80=99 > arch/powerpc/kernel/of_platform.c:295: error: implicit declaration of > function =E2=80=98pci_bus_add_devices=E2=80=99 > make[1]: *** [arch/powerpc/kernel/of_platform.o] Error 1 > make: *** [arch/powerpc/kernel] Error 2 > --- >=20 > 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=3Dy but CONFIG_PCI=3Dn. That's because PPC_CELL_NATIVE selects PLATFORM_PCI, without regard to whether PCI is enabled. cheers --=20 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 --=-C56sA11F81bV6PHagl9g Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAknlOkAACgkQdSjSd0sB4dKdvwCeNza0BCxAlZpKDjbrB+WWjZsZ +YcAnRH6DrWI+DhUvfBcj1N3kggIlsfj =tj4p -----END PGP SIGNATURE----- --=-C56sA11F81bV6PHagl9g-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757904AbZDOBhi (ORCPT ); Tue, 14 Apr 2009 21:37:38 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757822AbZDOBhL (ORCPT ); Tue, 14 Apr 2009 21:37:11 -0400 Received: from bilbo.ozlabs.org ([203.10.76.25]:56959 "EHLO bilbo.ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757851AbZDOBhJ (ORCPT ); Tue, 14 Apr 2009 21:37:09 -0400 Subject: Re: [BUILD FAILURE 02/12] Next April 14 : PPC64 randconfig [arch/powerpc/kernel/of_platform.c] From: Michael Ellerman Reply-To: michael@ellerman.id.au To: subrata@linux.vnet.ibm.com Cc: Linuxppc-dev , Benjamin Herrenschmidt , sachinp , Stephen Rothwell , linux-kernel , "Rafael J. Wysocki" , linux-next , Alexander Beregalov In-Reply-To: <1239733694.5344.74.camel@subratamodak.linux.ibm.com> References: <1239733694.5344.74.camel@subratamodak.linux.ibm.com> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-C56sA11F81bV6PHagl9g" Date: Wed, 15 Apr 2009 11:37:04 +1000 Message-Id: <1239759424.6552.3.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-C56sA11F81bV6PHagl9g Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 =E2=80=98of_pci_phb_probe= =E2=80=99: > arch/powerpc/kernel/of_platform.c:270: error: implicit declaration of > function =E2=80=98pci_devs_phb_init_dynamic=E2=80=99 > arch/powerpc/kernel/of_platform.c:279: error: implicit declaration of > function =E2=80=98scan_phb=E2=80=99 > arch/powerpc/kernel/of_platform.c:295: error: implicit declaration of > function =E2=80=98pci_bus_add_devices=E2=80=99 > make[1]: *** [arch/powerpc/kernel/of_platform.o] Error 1 > make: *** [arch/powerpc/kernel] Error 2 > --- >=20 > 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=3Dy but CONFIG_PCI=3Dn. That's because PPC_CELL_NATIVE selects PLATFORM_PCI, without regard to whether PCI is enabled. cheers --=20 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 --=-C56sA11F81bV6PHagl9g Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAknlOkAACgkQdSjSd0sB4dKdvwCeNza0BCxAlZpKDjbrB+WWjZsZ +YcAnRH6DrWI+DhUvfBcj1N3kggIlsfj =tj4p -----END PGP SIGNATURE----- --=-C56sA11F81bV6PHagl9g--