From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id 717AF67A5E for ; Wed, 30 Aug 2006 08:39:02 +1000 (EST) Subject: Re: undefined reference to pci_io_base From: Benjamin Herrenschmidt To: Linas Vepstas In-Reply-To: <20060829202831.GB27372@austin.ibm.com> References: <44F47ABE.7080602@am.sony.com> <20060829202831.GB27372@austin.ibm.com> Content-Type: text/plain Date: Wed, 30 Aug 2006 08:38:36 +1000 Message-Id: <1156891116.8433.578.camel@localhost.localdomain> Mime-Version: 1.0 Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , > > #if defined(CONFI_PCI) > > extern unsigned long pci_io_base; > > #else > > #define pci_io_base 0 > > #endif > > This makes the most sense to me; it compiles to something nice. Agreed. Ben.