linux-user/signal.c: Remove current_exec_domain_sig()
commitb6e2c9353a5bd8649ee71a52c35344ce3fb1c7d2
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 8 Jan 2015 12:19:43 +0000 (8 12:19 +0000)
committerRiku Voipio <riku.voipio@linaro.org>
Tue, 27 Jan 2015 20:33:56 +0000 (27 22:33 +0200)
treeff21f6b568633469e812cccd6ddb296bbf6dbb5e
parentb00c92e3ef59b78f6029d66353aaf995ceaa6605
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>
linux-user/signal.c