commit | f443e3960d9d3340dd286e5fc0b661bb165a8b22 | [log] [tgz] |
---|---|---|
author | Peter Maydell <peter.maydell@linaro.org> | Thu Oct 12 16:30:45 2017 +0100 |
committer | Riku Voipio <riku.voipio@linaro.org> | Tue Oct 17 22:24:02 2017 +0300 |
tree | dc426f1ddd2389f0716995c880cd562312a0889a | |
parent | 8423fa9010f2cadd50e8c21a20c62dc5b977704c [diff] |
linux-user: Fix TARGET_MTIOCTOP/MTIOCGET/MTIOCPOS values The TARGET_MTIOCTOP/TARGET_MTIOCGET/TARGET_MTIOCPOS values were being defined in terms of host struct types, but these structures are such that their size might differ on different hosts. Switch to using a target struct definition instead. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>