diff options
author | Peter Maydell | 2013-07-06 22:44:53 +0200 |
---|---|---|
committer | Riku Voipio | 2013-07-23 16:28:28 +0200 |
commit | c7819dfbd22be6a3711f11056f33300e881563d5 (patch) | |
tree | fe6b824f740e86ce22f1ccb543ae87d2ee3bf47a /include | |
parent | linux-user: Avoid conditional cpu_reset() (diff) | |
download | qemu-c7819dfbd22be6a3711f11056f33300e881563d5.tar.gz qemu-c7819dfbd22be6a3711f11056f33300e881563d5.tar.xz qemu-c7819dfbd22be6a3711f11056f33300e881563d5.zip |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions