diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2015-01-08 12:19:48 +0000 |
|---|---|---|
| committer | Riku Voipio <riku.voipio@linaro.org> | 2015-01-27 22:33:57 +0200 |
| commit | f6c7a05b8985df7eaf9942ca78e19890204eee4a (patch) | |
| tree | 3c61d237ec0e21dafff413dc6dbc95a9fcf955ff /util/qemu-thread-posix.c | |
| parent | f7e61b222b2796ee43c976ec44c61a15d55ff662 (diff) | |
| download | focaccia-qemu-f6c7a05b8985df7eaf9942ca78e19890204eee4a.tar.gz focaccia-qemu-f6c7a05b8985df7eaf9942ca78e19890204eee4a.zip | |
linux-user/signal.c: Remove unnecessary wrapper copy_siginfo_to_user
The function copy_siginfo_to_user() just calls tswap_siginfo(), so call the latter function directly and delete the wrapper function. The wrapper is actually misleading since it implies that the semantics are like the kernel function with the same name which copies the data to a guest user-space address. In fact tswap_siginfo() just does data-structure conversion between two structures whose addresses are host addresses (the copy to userspace is handled in QEMU by the lock_user/unlock_user calls). This also fixes clang complaints about the wrapper being unused in some configs. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'util/qemu-thread-posix.c')
0 files changed, 0 insertions, 0 deletions