[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v3 09/13] linux-user: Add missing 'break' in i386 ge
From: |
Peter Maydell |
Subject: |
[Qemu-devel] [PATCH v3 09/13] linux-user: Add missing 'break' in i386 get_thread_area syscall |
Date: |
Tue, 16 Jul 2013 18:44:56 +0100 |
The i386 code for the get_thread_area syscall was missing a
'break' which meant it would have fallen through into the
implementation of the following syscall; add it.
Signed-off-by: Peter Maydell <address@hidden>
---
linux-user/syscall.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 9619656..642d0a3 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -8572,6 +8572,7 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1,
case TARGET_NR_get_thread_area:
#if defined(TARGET_I386) && defined(TARGET_ABI32)
ret = do_get_thread_area(cpu_env, arg1);
+ break;
#elif defined(TARGET_M68K)
{
TaskState *ts = ((CPUArchState *)cpu_env)->opaque;
--
1.7.9.5
- [Qemu-devel] [PATCH v3 06/13] linux-user: Enable NPTL for OpenRISC, (continued)
- [Qemu-devel] [PATCH v3 06/13] linux-user: Enable NPTL for OpenRISC, Peter Maydell, 2013/07/16
- [Qemu-devel] [PATCH v3 05/13] linux-user: Move includes of target-specific headers to end of qemu.h, Peter Maydell, 2013/07/16
- [Qemu-devel] [PATCH v3 08/13] linux-user: Enable NPTL for m68k, Peter Maydell, 2013/07/16
- [Qemu-devel] [PATCH v3 01/13] configure: Flip default of target_nptl, Peter Maydell, 2013/07/16
- [Qemu-devel] [PATCH v3 11/13] linux-user: Add i386 TLS setter, Peter Maydell, 2013/07/16
- [Qemu-devel] [PATCH v3 02/13] configure: Don't say target_nptl="no" if there is no linux-user target, Peter Maydell, 2013/07/16
- [Qemu-devel] [PATCH v3 10/13] linux-user: Clean up handling of clone() argument order, Peter Maydell, 2013/07/16
- [Qemu-devel] [PATCH v3 07/13] linux-user: Enable NPTL for SPARC targets, Peter Maydell, 2013/07/16
- [Qemu-devel] [PATCH v3 09/13] linux-user: Add missing 'break' in i386 get_thread_area syscall,
Peter Maydell <=
- [Qemu-devel] [PATCH v3 04/13] configure: Enable threading for unicore32-linux-user, Peter Maydell, 2013/07/16
- [Qemu-devel] [PATCH v3 13/13] configure: Make NPTL non-optional, Peter Maydell, 2013/07/16
- Re: [Qemu-devel] [PATCH v3 00/13] linux-user: enable NPTL on everything, Peter Maydell, 2013/07/22