exec: don't include hw/boards for linux-user
commit4485bd269c0e1c051d21d0196be89cdba23d9520
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 11 Mar 2015 06:56:34 +0000 (11 07:56 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 11 Mar 2015 17:24:29 +0000 (11 18:24 +0100)
tree3ab16cf1ae39f16c752f936c1d365828708eb0c4
parent7927266183583f1fa90323890b21d2c03ed244f6
exec: don't include hw/boards for linux-user

As noted by Andreas, hw/boards.h shouldn't be used outside softmmu code.
Include it conditionally, and drop the (now unnecessary) ifdef guards in
hw/boards.h

Reported-by: Andreas Färber <afaerber@suse.de>
Cc: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Andreas Färber <afaerber@suse.de>
exec.c
include/hw/boards.h