linux-user: Fix TARGET_MTIOCTOP/MTIOCGET/MTIOCPOS values
commitf443e3960d9d3340dd286e5fc0b661bb165a8b22
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 12 Oct 2017 15:30:45 +0000 (12 16:30 +0100)
committerRiku Voipio <riku.voipio@linaro.org>
Tue, 17 Oct 2017 19:24:02 +0000 (17 22:24 +0300)
treedc426f1ddd2389f0716995c880cd562312a0889a
parent8423fa9010f2cadd50e8c21a20c62dc5b977704c
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>
linux-user/syscall_defs.h