diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2013-07-16 18:45:00 +0100 |
|---|---|---|
| committer | Riku Voipio <riku.voipio@linaro.org> | 2013-07-22 21:54:52 +0300 |
| commit | 24cb36a61c663d98a53338620e88e4cd3403459a (patch) | |
| tree | f50ee27aca89b80b87bb4f63d3a40cadd830b782 /include/exec/gdbstub.h | |
| parent | 2667e71c3d9262d756bea1473e2ea28eb2c9c070 (diff) | |
| download | focaccia-qemu-24cb36a61c663d98a53338620e88e4cd3403459a.tar.gz focaccia-qemu-24cb36a61c663d98a53338620e88e4cd3403459a.zip | |
configure: Make NPTL non-optional
Now all linux-user targets support building with NPTL, we can make it mandatory. This is a good idea because: * NPTL is no longer new and experimental; it is completely standard * in practice, linux-user without NPTL is nearly useless for binaries built against non-ancient glibc * it allows us to delete the rather untested code for handling the non-NPTL configuration Note that this patch leaves the CONFIG_USE_NPTL ifdefs in the bsd-user codebase alone. This makes no change for bsd-user, since our configure test for NPTL had a "#include <linux/futex.h>" which means bsd-user would never have been compiled with CONFIG_USE_NPTL defined, and it still is not. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'include/exec/gdbstub.h')
| -rw-r--r-- | include/exec/gdbstub.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/exec/gdbstub.h b/include/exec/gdbstub.h index ded4160e57..8065f40a60 100644 --- a/include/exec/gdbstub.h +++ b/include/exec/gdbstub.h @@ -32,7 +32,7 @@ void gdb_register_coprocessor(CPUArchState *env, static inline int cpu_index(CPUState *cpu) { -#if defined(CONFIG_USER_ONLY) && defined(CONFIG_USE_NPTL) +#if defined(CONFIG_USER_ONLY) return cpu->host_tid; #else return cpu->cpu_index + 1; |