bsd-user: fix compile failure
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 12 Apr 2012 11:43:41 +0000 (12:43 +0100)
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Fri, 13 Apr 2012 08:57:36 +0000 (09:57 +0100)
commitd6ef40bf1881ddc82c8d64e72d412090efe1190e
tree6995a65c7fe2477ec0a3fae8cdf5f158dbaa0c3d
parentfd65f595fe14dafeee1cd34df0dbe288ed6a5f06
bsd-user: fix compile failure

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 <brad@comstyle.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
bsd-user/main.c