diff options
author | Christophe Lyon <christophe.lyon@st.com> | 2018-07-04 17:55:33 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbrodkorb@conet.de> | 2018-08-10 16:02:45 +0200 |
commit | 4d6b4178c8e49dd6d3067a399e2a49d5379b7750 (patch) | |
tree | e8aca0bbcfa632bfc5407cadf25ee3ba8c40fd6d /libpthread/nptl/pthread_mutex_init.c | |
parent | eae96c1e2b02af0554bbae189af2c8091cb581bf (diff) |
nptl: Do not use madvise
start_thread() uses it, but it is not supported on MMU-less systems.
* libpthread/nptl/pthread_create.c (start_thread): Call madvise
only if __ARCH_USE_MMU__ is defined.
Signed-off-by: Mickaël Guêné <mickael.guene@st.com>
Signed-off-by: Christophe Lyon <christophe.lyon@st.com>
Diffstat (limited to 'libpthread/nptl/pthread_mutex_init.c')
0 files changed, 0 insertions, 0 deletions