From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1SIIRg-0004pU-9b for mharc-qemu-trivial@gnu.org; Thu, 12 Apr 2012 07:44:12 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57640) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SIIRX-0004Ox-FO for qemu-trivial@nongnu.org; Thu, 12 Apr 2012 07:44:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SIIRR-0000HM-BQ for qemu-trivial@nongnu.org; Thu, 12 Apr 2012 07:44:03 -0400 Received: from mnementh.archaic.org.uk ([81.2.115.146]:35669) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SIIRG-0000Aj-Cl; Thu, 12 Apr 2012 07:43:46 -0400 Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.72) (envelope-from ) id 1SIIRB-0006jz-Df; Thu, 12 Apr 2012 12:43:41 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Date: Thu, 12 Apr 2012 12:43:41 +0100 Message-Id: <1334231021-25886-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 , =?UTF-8?q?Andreas=20F=C3=A4rber?= , patches@linaro.org Subject: [Qemu-trivial] [PATCH v2] bsd-user: fix compile failure X-BeenThere: qemu-trivial@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Apr 2012 11:44:10 -0000 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 39879bb which added a use of RESERVED_VA to h2g_valid(). Reported-by: Brad Smith Signed-off-by: Peter Maydell --- v1->v2 changes: added commit hash accidentally omitted from message added reported-by line. no code change. 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; -- 1.7.1