]> www.infradead.org Git - users/dwmw2/qemu.git/commitdiff
tcg/s390: Remove sigill_handler
authorRichard Henderson <rth@twiddle.net>
Wed, 29 Jan 2014 21:08:30 +0000 (13:08 -0800)
committerMichael Tokarev <mjt@tls.msk.ru>
Sat, 1 Feb 2014 09:45:20 +0000 (13:45 +0400)
Commit c9baa30f42a87f61627391698f63fa4d1566d9d8 failed to
delete all of the relevant code, leading to Werrors about
unused symbols.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
tcg/s390/tcg-target.c

index 248726e82f7ca09887e4f1f0e6145923870c31eb..907d9d17446712cee68fc6258d4033c20c5dd926 100644 (file)
@@ -2214,25 +2214,6 @@ static const TCGTargetOpDef s390_op_defs[] = {
     { -1 },
 };
 
-/* ??? Linux kernels provide an AUXV entry AT_HWCAP that provides most of
-   this information.  However, getting at that entry is not easy this far
-   away from main.  Our options are: start searching from environ, but
-   that fails as soon as someone does a setenv in between.  Read the data
-   from /proc/self/auxv.  Or do the probing ourselves.  The only thing
-   extra that AT_HWCAP gives us is HWCAP_S390_HIGH_GPRS, which indicates
-   that the kernel saves all 64-bits of the registers around traps while
-   in 31-bit mode.  But this is true of all "recent" kernels (ought to dig
-   back and see from when this might not be true).  */
-
-#include <signal.h>
-
-static volatile sig_atomic_t got_sigill;
-
-static void sigill_handler(int sig)
-{
-    got_sigill = 1;
-}
-
 static void query_facilities(void)
 {
     unsigned long hwcap = qemu_getauxval(AT_HWCAP);