]> git.proxmox.com Git - mirror_qemu.git/commit
Drop unnecessary check of TARGET_PHYS_ADDR_SPACE_BITS
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 5 Oct 2012 07:09:02 +0000 (07:09 +0000)
committerAlexander Graf <agraf@suse.de>
Mon, 29 Oct 2012 10:45:53 +0000 (11:45 +0100)
commit21b2f13ae21974e0fd7f8da99d84628a8000d1d7
tree22c1b35b882504708b8bc5e3d6e76bec96a5dea2
parent50cd72148211c5e5f22ea2519d19ce024226e61f
Drop unnecessary check of TARGET_PHYS_ADDR_SPACE_BITS

For all our PPC targets the physical address space is at least
36 bits, so drop an unnecessary preprocessor conditional check
on TARGET_PHYS_ADDR_SPACE_BITS (erroneously introduced as part
of the change from target_phys_addr_t to hwaddr). This brings
this bit of code into line with the way we handle the other
cases which were originally checking TARGET_PHYS_ADDR_BITS in
order to avoid compiler complaints about overflowing a 32 bit type.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
target-ppc/mmu_helper.c