Re: [PATCH 2/4] osdep: Un-inline qemu_thread_jit_execute/write

2022-02-15 Thread Philippe Mathieu-Daudé via
On 15/2/22 14:09, Akihiko Odaki wrote: On Tue, Feb 15, 2022 at 9:06 PM Philippe Mathieu-Daudé wrote: qemu_thread_jit_execute() and qemu_thread_jit_write() call pthread_jit_write_protect_np() which is declared in "pthread.h". Since we don't want all C files to preprocess unused headers, avoid

Re: [PATCH 2/4] osdep: Un-inline qemu_thread_jit_execute/write

2022-02-15 Thread Akihiko Odaki
On Tue, Feb 15, 2022 at 9:06 PM Philippe Mathieu-Daudé wrote: > > qemu_thread_jit_execute() and qemu_thread_jit_write() call > pthread_jit_write_protect_np() which is declared in "pthread.h". > Since we don't want all C files to preprocess unused headers, > avoid adding yet another header here

[PATCH 2/4] osdep: Un-inline qemu_thread_jit_execute/write

2022-02-15 Thread Philippe Mathieu-Daudé via
qemu_thread_jit_execute() and qemu_thread_jit_write() call pthread_jit_write_protect_np() which is declared in "pthread.h". Since we don't want all C files to preprocess unused headers, avoid adding yet another header here and move the function definitions to osdep.c, un-inlining them.