target-moxie: replace target_phys_addr_t with hwaddr
PATCH 1/1 target-moxie: replace target_phys_addr_t with hwaddr
target_phys_addr_t has been already replaced by hwaddr, but this one is introduced after.
--- target-moxie/helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
target-moxie/helper.c +1 -1
@@ -116,7 +116,7 @@ int cpu_moxie_handle_mmu_fault(CPUMoxieState *env, target_ulong address,return 1 ; } -target_phys_addr_t cpu_get_phys_page_debug (CPUState *env,target_ulong addr) +hwaddr cpu_get_phys_page_debug (CPUState *env,target_ulong addr) {return addr; }
Signature · 1 line
1.8.1.4
Quoted 4 lines · Hu Tao
target_phys_addr_thas been already replaced by hwaddr, but this one is introduced after.Signed-off-by Hu Tao <[email protected]>
This doesn't cause compile errors because it's in a bit of code that can never get compiled (it's inside a CONFIG_USER_ONLY block but there is no moxie-linux-user target in configure).
thanks
-- PMM
Anthony G.,
Am 15.05.2013 10:23, schrieb Peter Maydell:
Quoted 12 lines · Hu Tao
Quoted 4 lines
target_phys_addr_thas been already replaced by hwaddr, but this one is introduced after.Signed-off-by Hu Tao <[email protected]>Reviewed-by Peter Maydell <[email protected]>This doesn't cause compile errors because it's in a bit of code that can never get compiled (it's inside a
CONFIG_USER_ONLYblock but there is no moxie-linux-user target in configure).
A similar issue had come up before and I don't remember seeing a clear answer:
Are you planning to actually implement moxie-linux-user and enable it by default, so that we can catch any errors? Or should we rather drop any such unused CONFIG_USER_ONLY code from target-moxie?
Regards,
Andreas
Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
Quoted 4 lines · Hu Tao
target_phys_addr_thas been already replaced by hwaddr, but this one is introduced after.Signed-off-by Hu Tao <[email protected]>
Thanks, added to the trivial patches queue.
/mjt