From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=43121 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PdGlh-0001VF-W9 for qemu-devel@nongnu.org; Thu, 13 Jan 2011 01:34:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PdGlg-0000PJ-FG for qemu-devel@nongnu.org; Thu, 13 Jan 2011 01:34:45 -0500 Received: from sj-iport-4.cisco.com ([171.68.10.86]:50867) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PdGlg-0000Ot-Ap for qemu-devel@nongnu.org; Thu, 13 Jan 2011 01:34:44 -0500 From: David Ahern Date: Wed, 12 Jan 2011 23:34:32 -0700 Message-Id: <1294900477-23722-4-git-send-email-daahern@cisco.com> In-Reply-To: <1294900477-23722-1-git-send-email-daahern@cisco.com> References: <1294900477-23722-1-git-send-email-daahern@cisco.com> Subject: [Qemu-devel] [PATCH 3/8] x86_64 config: fix compile for CONFIG_PARALLEL=n List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: David Ahern Signed-off-by: David Ahern --- hw/pc.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/hw/pc.c b/hw/pc.c index 50795e8..18ec0df 100644 --- a/hw/pc.c +++ b/hw/pc.c @@ -1138,11 +1138,13 @@ void pc_basic_device_init(qemu_irq *isa_irq, } } +#ifdef CONFIG_PARALLEL for(i = 0; i < MAX_PARALLEL_PORTS; i++) { if (parallel_hds[i]) { parallel_init(i, parallel_hds[i]); } } +#endif a20_line = qemu_allocate_irqs(handle_a20_line_change, first_cpu, 2); i8042 = isa_create_simple("i8042"); -- 1.7.3.4