[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-trivial] [PULL 4/7] tcg/s390: Remove sigill_handler
From: |
Michael Tokarev |
Subject: |
[Qemu-trivial] [PULL 4/7] tcg/s390: Remove sigill_handler |
Date: |
Sun, 2 Feb 2014 20:12:40 +0400 |
From: Richard Henderson <address@hidden>
Commit c9baa30f42a87f61627391698f63fa4d1566d9d8 failed to
delete all of the relevant code, leading to Werrors about
unused symbols.
Signed-off-by: Richard Henderson <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>
---
tcg/s390/tcg-target.c | 19 -------------------
1 file changed, 19 deletions(-)
diff --git a/tcg/s390/tcg-target.c b/tcg/s390/tcg-target.c
index 248726e..907d9d1 100644
--- a/tcg/s390/tcg-target.c
+++ b/tcg/s390/tcg-target.c
@@ -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);
--
1.7.10.4
- [Qemu-trivial] [PULL 0/7] Trivial patches for 2014-02-02, Michael Tokarev, 2014/02/02
- [Qemu-trivial] [PULL 5/7] readline: Add missing GCC_FMT_ATTR, Michael Tokarev, 2014/02/02
- [Qemu-trivial] [PULL 2/7] osdep: drop unused #include "trace.h", Michael Tokarev, 2014/02/02
- [Qemu-trivial] [PULL 7/7] tests/.gitignore: Ignore tests/check-qom-interface, Michael Tokarev, 2014/02/02
- [Qemu-trivial] [PULL 4/7] tcg/s390: Remove sigill_handler,
Michael Tokarev <=
- [Qemu-trivial] [PULL 1/7] qemu 1.7.0 does not build on NetBSD, Michael Tokarev, 2014/02/02
- [Qemu-trivial] [PULL 6/7] hw/ppc: Remove unused defines, Michael Tokarev, 2014/02/02
- [Qemu-trivial] [PULL 3/7] i386: Add missing include file for QEMU_PACKED, Michael Tokarev, 2014/02/02
- Re: [Qemu-trivial] [Qemu-devel] [PULL 0/7] Trivial patches for 2014-02-02, Peter Maydell, 2014/02/05