]> git.proxmox.com Git - mirror_qemu.git/commit - linux-user/qemu.h
linux-user: Remove THREAD macro
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 13 Feb 2018 13:22:46 +0000 (13:22 +0000)
committerLaurent Vivier <laurent@vivier.eu>
Sun, 18 Feb 2018 17:52:32 +0000 (18:52 +0100)
commitb44316fb3610972e40849ec5710aeb42dfeba19d
tree2f689ca52a0376406921ec7c1cc37ca519ebb92f
parent5fdefcf808a6d70a26e4c536cf0a0acad9b0fff3
linux-user: Remove THREAD macro

Back when we used to support compiling either with or without
NPTL threading library support, we used a macro THREAD which would
expand either to nothing (no thread support) or to __thread (threads
supported). For a long time now we have required thread support,
so remove the macro and just use __thread directly as other parts
of QEMU do.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20180213132246.26844-1-peter.maydell@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
linux-user/main.c
linux-user/qemu.h