From patchwork Thu Apr 12 10:22:44 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 152007 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id C4414B70C2 for ; Thu, 12 Apr 2012 20:23:19 +1000 (EST) Received: from localhost ([::1]:53318 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SIHBN-0002yJ-F4 for incoming@patchwork.ozlabs.org; Thu, 12 Apr 2012 06:23:17 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45237) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SIHBB-0002xw-CS for qemu-devel@nongnu.org; Thu, 12 Apr 2012 06:23:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SIHB6-00034j-Jj for qemu-devel@nongnu.org; Thu, 12 Apr 2012 06:23:04 -0400 Received: from mnementh.archaic.org.uk ([81.2.115.146]:39682) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SIHB6-00034D-Bh; Thu, 12 Apr 2012 06:23:00 -0400 Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.72) (envelope-from ) id 1SIHAq-0006gJ-Rh; Thu, 12 Apr 2012 11:22:44 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Date: Thu, 12 Apr 2012 11:22:44 +0100 Message-Id: <1334226164-25658-1-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.2.5 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 81.2.115.146 Cc: qemu-trivial@nongnu.org, Brad Smith , patches@linaro.org Subject: [Qemu-devel] [PATCH] bsd-user: fix compile failure X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org bsd-user doesn't actually support reserving a memory area for the guest address space, but we need to at least define the reserved_va global so that cpu-all.h's RESERVED_VA macro will work correctly. This fixes a compilation error introduced in commit which added a use of RESERVED_VA to h2g_valid(). Signed-off-by: Peter Maydell Reported-by: Brad Smith --- bsd-user/main.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/bsd-user/main.c b/bsd-user/main.c index 48cb715..0689e38 100644 --- a/bsd-user/main.c +++ b/bsd-user/main.c @@ -41,6 +41,7 @@ int singlestep; unsigned long mmap_min_addr; unsigned long guest_base; int have_guest_base; +unsigned long reserved_va; #endif static const char *interp_prefix = CONFIG_QEMU_INTERP_PREFIX;