]> git.proxmox.com Git - qemu.git/commit
linux-user: Fix target_stat and target_stat64 for OpenRISC
authorPeter Maydell <peter.maydell@linaro.org>
Sat, 6 Jul 2013 20:44:53 +0000 (21:44 +0100)
committerRiku Voipio <riku.voipio@linaro.org>
Tue, 23 Jul 2013 14:28:28 +0000 (17:28 +0300)
commitc7819dfbd22be6a3711f11056f33300e881563d5
treefe6b824f740e86ce22f1ccb543ae87d2ee3bf47a
parent885a73f72b967900296d71c97cc7c560585a9086
linux-user: Fix target_stat and target_stat64 for OpenRISC

OpenRISC uses the asm-generic versions of target_stat and
target_stat64, but it was incorrectly using the x86/ARM/etc version
due to a misplaced defined(TARGET_OPENRISC).  The previously unused
OpenRISC section of the ifdef ladder also defined an incorrect
target_stat and omitted the target_stat64 definition.  Fix
target_stat, provide target_stat64, and add a comment noting that
these are the asm-generic versions for the benefit of future ports.

Reviewed-by: Jia Liu <proljc@gmail.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
linux-user/syscall_defs.h