diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2015-01-08 12:19:43 +0000 |
---|---|---|
committer | Riku Voipio <riku.voipio@linaro.org> | 2015-01-27 22:33:56 +0200 |
commit | b6e2c9353a5bd8649ee71a52c35344ce3fb1c7d2 (patch) | |
tree | ff21f6b568633469e812cccd6ddb296bbf6dbb5e /tests/virtio-serial-test.c | |
parent | b00c92e3ef59b78f6029d66353aaf995ceaa6605 (diff) |
linux-user/signal.c: Remove current_exec_domain_sig()
Remove the function current_exec_domain_sig(), which always returns
its argument. This was intended as a stub for supporting the kernel's
exec_domain handling, but:
* we don't have any of the other code for execution domains
* in the kernel this handling is architecture-specific, not generic
* we only call this function in the x86, ppc and sh4 signal code paths,
and the PPC one is wrong anyway because the PPC kernel doesn't
have this signal-remapping code
So it's best to simply delete the function; any future attempt to
implement exec domains will be better served by adding the correct
code from scratch based on the kernel sources at that time.
This change also fixes some clang warnings about the function being
defined but not used for some target architectures.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'tests/virtio-serial-test.c')
0 files changed, 0 insertions, 0 deletions