aboutsummaryrefslogtreecommitdiff
path: root/target-xtensa/cpu.h
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2013-07-06 21:44:53 +0100
committerRiku Voipio <riku.voipio@linaro.org>2013-07-23 17:28:28 +0300
commitc7819dfbd22be6a3711f11056f33300e881563d5 (patch)
treefe6b824f740e86ce22f1ccb543ae87d2ee3bf47a /target-xtensa/cpu.h
parent885a73f72b967900296d71c97cc7c560585a9086 (diff)
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 'target-xtensa/cpu.h')
0 files changed, 0 insertions, 0 deletions