Re: [Qemu-devel] [PATCH 8/8] linux-user: Enable NPTL for m68k

2013-07-13 Thread Peter Maydell
On 13 July 2013 11:28, Laurent Vivier wrote: > Le 12/07/2013 22:12, Peter Maydell a écrit : >> --- a/linux-user/syscall.c >> +++ b/linux-user/syscall.c >> @@ -8558,6 +8558,11 @@ abi_long do_syscall(void *cpu_env, int num, >> abi_long arg1, >> #elif defined(TARGET_I386) && defined(TARGET_ABI32) >

Re: [Qemu-devel] [PATCH 8/8] linux-user: Enable NPTL for m68k

2013-07-13 Thread Laurent Vivier
Le 12/07/2013 22:12, Peter Maydell a écrit : For m68k, per-thread data is a purely kernel construct with no CPU level support. Implement it via a field in the TaskState structure, used by cpu_set_tls() and the set_thread_area/get_thread_area syscalls. This allows us to enable compilation with NPT

[Qemu-devel] [PATCH 8/8] linux-user: Enable NPTL for m68k

2013-07-12 Thread Peter Maydell
For m68k, per-thread data is a purely kernel construct with no CPU level support. Implement it via a field in the TaskState structure, used by cpu_set_tls() and the set_thread_area/get_thread_area syscalls. This allows us to enable compilation with NPTL. Signed-off-by: Peter Maydell --- configur