[PATCH 01/12] libc/not-cancel.h: Enable pause_not_cancel for arches without __NR_pause

Markos Chandras markos.chandras at gmail.com
Thu Feb 21 10:11:58 UTC 2013


From: Markos Chandras <markos.chandras at imgtec.com>

Signed-off-by: Markos Chandras <markos.chandras at imgtec.com>
---
 libc/sysdeps/linux/common/not-cancel.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libc/sysdeps/linux/common/not-cancel.h b/libc/sysdeps/linux/common/not-cancel.h
index 08dab8c..71da653 100644
--- a/libc/sysdeps/linux/common/not-cancel.h
+++ b/libc/sysdeps/linux/common/not-cancel.h
@@ -102,9 +102,9 @@ extern int __openat64_nocancel (int fd, const char *fname, int oflag,
 #ifdef __NR_pause
 # define pause_not_cancel() \
   INLINE_SYSCALL (pause, 0)
-/*#else
+#else
 # define pause_not_cancel() \
-  __pause_nocancel ()*/
+  __pause_nocancel ()
 #endif
 
 /* Uncancelable nanosleep.  */
-- 
1.8.1.2




More information about the uClibc mailing list