]> git.proxmox.com Git - mirror_qemu.git/commit
ppc405: use RAM_ADDR_FMT instead of %08lx
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Mon, 5 Sep 2011 03:02:29 +0000 (03:02 +0000)
committerAlexander Graf <agraf@suse.de>
Thu, 6 Oct 2011 07:48:06 +0000 (09:48 +0200)
commite5697f20a262e1fbfd8288950d043f359dc19f60
treeb589bb9e0fe47113396f1d75088330e85690c2df
parent5a576fb3e20c3087a6d30be5a94550ace003c6d7
ppc405: use RAM_ADDR_FMT instead of %08lx

The RAM_ADDR_FMT macro hides the type of ram_addr_t so that format
strings can be safely used.  Make sure to use RAM_ADDR_FMT so that the
build works on 32-bit hosts with Xen enabled.  Whether Xen should affect
ppc TCG targets is questionable but a separate issue.

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/ppc405_boards.c