diff options
Diffstat (limited to 'libpthread/nptl/sysdeps/unix/sysv/linux/unregister-atfork.c')
-rw-r--r-- | libpthread/nptl/sysdeps/unix/sysv/linux/unregister-atfork.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/unregister-atfork.c b/libpthread/nptl/sysdeps/unix/sysv/linux/unregister-atfork.c index 69e26210f..e958e7137 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/unregister-atfork.c +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/unregister-atfork.c @@ -22,7 +22,7 @@ #include <atomic.h> #include <tls.h> - +#ifdef __ARCH_USE_MMU__ void __unregister_atfork ( void *dso_handle) @@ -120,3 +120,11 @@ __unregister_atfork ( deleted = deleted->next; } } +#else +void +__unregister_atfork ( + void *dso_handle) +{ + /* Nothing to do. */ +} +#endif |