From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dave McCracken Subject: Error building current Linux git tree without configuring Xen Date: Fri, 30 Apr 2010 14:34:26 -0500 Message-ID: <201004301434.26167.dcm@mccr.org> Mime-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jeremy Fitzhardinge Cc: Xen Developers List List-Id: xen-devel@lists.xenproject.org I tried to build a Linux kernel from current git sources without specifying any form of Xen. I got these three undefined symbols: xen_register_gsi xen_teardown_msi_dev xen_setup_msi_irqs I defined them as dummy functions in arch/x86/include/asm/xen/pci.h for the case where CONFIG_XEN is not set, and got a working kernel. They're also defined as dummy functions higher in the file under #else clauses for other config variables. I assume we don't want the dummy functions defined multiple times, but I'm not sure the cleanest solution. Dave McCracken Oracle Corp.