From mboxrd@z Thu Jan 1 00:00:00 1970 From: "gregkh@linuxfoundation.org" Subject: Re: [Xen-devel] linux-next: Tree for Oct 24 (xen) Date: Thu, 25 Oct 2012 07:15:35 -0700 Message-ID: <20121025141535.GA29620@kroah.com> References: <20121024151957.28a1626cd9a59c014e78c401@canb.auug.org.au> <50885EA8.3050007@xenotime.net> <508906CE02000078000A4553@nat28.tlf.novell.com> <20121025134628.GE26209@localhost.localdomain> <5089635702000078000A48D7@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <5089635702000078000A48D7@nat28.tlf.novell.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org To: Jan Beulich Cc: Stephen Rothwell , Jeremy Fitzhardinge , Konrad Rzeszutek Wilk , Stefano Stabellini , "linux-kernel@vger.kernel.org" , "virtualization@lists.linux-foundation.org" , "linux-next@vger.kernel.org" , xen-devel List-Id: linux-next.vger.kernel.org On Thu, Oct 25, 2012 at 03:05:43PM +0100, Jan Beulich wrote: > >>> On 25.10.12 at 15:46, Konrad Rzeszutek Wilk wrote: > > On Thu, Oct 25, 2012 at 11:48:30AM +0100, Stefano Stabellini wrote: > >> On Thu, 25 Oct 2012, Jan Beulich wrote: > >> > >>> On 24.10.12 at 23:33, Randy Dunlap wrote: > >> > > On 10/23/2012 09:19 PM, Stephen Rothwell wrote: > >> > > > >> > >> Hi all, > >> > >> > >> > >> Changes since 201201023: > >> > >> > >> > > > >> > > on x86_64: > >> > > > >> > > drivers/built-in.o: In function `dbgp_reset_prep': > >> > > (.text+0xb96b5): undefined reference to `xen_dbgp_reset_prep' > >> > > drivers/built-in.o: In function `dbgp_external_startup': > >> > > (.text+0xb9d95): undefined reference to `xen_dbgp_external_startup' > >> > > > >> > > > >> > > Full randconfig file is attached. > >> > > >> > So this is because with !USB_SUPPORT but EARLY_PRINTK_DBGP > >> > dbgp_reset_prep() and dbgp_external_startup() get pointlessly > >> > defined and exported. This got broken by the merge > >> > recommendation for the ARM side changes (originally compilation > >> > of drivers/xen/dbgp.c depended on just CONFIG_XEN_DOM0). > >> > > >> > >From my pov, fixing the USB side would be the clean solution (i.e. > >> > putting those function definitions inside a CONFIG_USB_SUPPORT > >> > conditional). > >> > > >> > The alternative of a smaller change would be to extend the > >> > conditional around the respective xen_dbgp_...() declarations > >> > in include/linux/usb/ehci_def.h to become > >> > > >> > #if defined(CONFIG_XEN_DOM0) && defined(CONFIG_USB_SUPPORT) > >> > > >> > Please advise towards your preference. > >> > >> I think that your first suggestion is the right one. > > > > Can you guys spin up a patch pls and make sure it does not break > > compilation. Thx. > > I'd really like to hear Greg's opinion on which route to take before > pointlessly trying the other one. I have no idea, please send patches. greg k-h