linux-user: add struct old_dev_t compat
commit6083abd9aa134c9b0804e584f8279f54e6c90a1c
authorAlexander Graf <agraf@suse.de>
Tue, 31 Jan 2012 18:44:41 +0000 (31 19:44 +0100)
committerRiku Voipio <riku.voipio@linaro.org>
Fri, 6 Apr 2012 15:49:58 +0000 (6 18:49 +0300)
tree8e142aa5564218708c8670513414c37b8694c473
parent56e904ecb2018e30b10e9ec846635ff3b1e1d923
linux-user: add struct old_dev_t compat

The compat LOOP_SET_STATUS ioctl uses struct old_dev_t in its passed
struct. That variable type is vastly different between different
architectures. Implement wrapping around it so we can use it.

This fixes running arm kpartx on an x86_64 host for me.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
linux-user/syscall_types.h
thunk.c
thunk.h