nanosleep

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/alpha.m4 b/alpha.m4
index 5f3690a..e135257 100644
--- a/alpha.m4
+++ b/alpha.m4
@@ -339,7 +339,7 @@
 sched_rr_get_interval
 sys_ni_syscall
 sys_newuname
-sys_nanosleep
+nanosleep
 sys_mremap
 sys_ni_syscall
 sys_setresuid
diff --git a/amd64.m4 b/amd64.m4
index 84bcd5a..5026094 100644
--- a/amd64.m4
+++ b/amd64.m4
@@ -34,7 +34,7 @@
 sys_dup
 sys_dup2
 sys_pause
-sys_nanosleep
+nanosleep
 getitimer
 sys_alarm
 setitimer
diff --git a/arm-C.m4 b/arm-C.m4
index 7984918..470bfda 100644
--- a/arm-C.m4
+++ b/arm-C.m4
@@ -161,7 +161,7 @@
 sched_get_priority_max
 sched_get_priority_min
 sched_rr_get_interval
-compat_sys_nanosleep
+nanosleep
 sys_mremap
 sys_setresuid16
 sys_getresuid16
diff --git a/arm.m4 b/arm.m4
index 377f42a..945ea72 100644
--- a/arm.m4
+++ b/arm.m4
@@ -161,7 +161,7 @@
 sched_get_priority_max
 sched_get_priority_min
 sched_rr_get_interval
-sys_nanosleep
+nanosleep
 sys_mremap
 sys_setresuid16
 sys_getresuid16
diff --git a/arm64.m4 b/arm64.m4
index 382d08f..32993e0 100644
--- a/arm64.m4
+++ b/arm64.m4
@@ -100,7 +100,7 @@
 sys_futex
 sys_set_robust_list
 sys_get_robust_list
-sys_nanosleep
+nanosleep
 getitimer
 setitimer
 sys_kexec_load
diff --git a/avr32.m4 b/avr32.m4
index 083f394..dec3fae 100644
--- a/avr32.m4
+++ b/avr32.m4
@@ -142,7 +142,7 @@
 sched_get_priority_max
 sched_get_priority_min
 sched_rr_get_interval
-sys_nanosleep
+nanosleep
 sys_poll
 sys_ni_syscall
 sys_setresgid
diff --git a/blackfin.m4 b/blackfin.m4
index c7c05fa..cf760b4 100644
--- a/blackfin.m4
+++ b/blackfin.m4
@@ -161,7 +161,7 @@
 sched_get_priority_max
 sched_get_priority_min
 sched_rr_get_interval
-sys_nanosleep
+nanosleep
 sys_mremap
 sys_setresuid
 sys_getresuid
diff --git a/c6x.m4 b/c6x.m4
index 2407195..1ea1912 100644
--- a/c6x.m4
+++ b/c6x.m4
@@ -100,7 +100,7 @@
 sys_futex
 sys_set_robust_list
 sys_get_robust_list
-sys_nanosleep
+nanosleep
 getitimer
 setitimer
 sys_kexec_load
diff --git a/calls b/calls
index ff11bdd..74d5188 100644
--- a/calls
+++ b/calls
@@ -70,3 +70,5 @@
 all(sched_get_priority_max)
 all(sched_get_priority_min)
 timelike(sched_rr_get_interval)
+#
+timelike(nanosleep)
diff --git a/cris.m4 b/cris.m4
index 5a1f860..3b45927 100644
--- a/cris.m4
+++ b/cris.m4
@@ -161,7 +161,7 @@
 sched_get_priority_max
 sched_get_priority_min
 sched_rr_get_interval
-sys_nanosleep
+nanosleep
 sys_mremap
 sys_setresuid16
 sys_getresuid16
diff --git a/frv.m4 b/frv.m4
index bd51831..7179f95 100644
--- a/frv.m4
+++ b/frv.m4
@@ -161,7 +161,7 @@
 sched_get_priority_max
 sched_get_priority_min
 sched_rr_get_interval
-sys_nanosleep
+nanosleep
 sys_mremap
 sys_setresuid16
 sys_getresuid16
diff --git a/h8300.m4 b/h8300.m4
index 2f3e177..1a7bfe1 100644
--- a/h8300.m4
+++ b/h8300.m4
@@ -161,7 +161,7 @@
 sched_get_priority_max
 sched_get_priority_min
 sched_rr_get_interval
-sys_nanosleep
+nanosleep
 sys_ni_syscall
 sys_setresuid16
 sys_getresuid16
diff --git a/hexagon.m4 b/hexagon.m4
index c937a75..63cc8a5 100644
--- a/hexagon.m4
+++ b/hexagon.m4
@@ -100,7 +100,7 @@
 sys_futex
 sys_set_robust_list
 sys_get_robust_list
-sys_nanosleep
+nanosleep
 getitimer
 setitimer
 sys_kexec_load
diff --git a/i386.m4 b/i386.m4
index e41d6ad..13be2d8 100644
--- a/i386.m4
+++ b/i386.m4
@@ -148,7 +148,7 @@
 sched_get_priority_max
 sched_get_priority_min
 sched_rr_get_interval
-sys_nanosleep
+nanosleep
 sys_mremap
 sys_setresuid16
 sys_getresuid16
diff --git a/ia64.m4 b/ia64.m4
index 4d784d6..e3c80b5 100644
--- a/ia64.m4
+++ b/ia64.m4
@@ -143,7 +143,7 @@
 sched_get_priority_max
 sched_get_priority_min
 sched_rr_get_interval
-sys_nanosleep
+nanosleep
 sys_ni_syscall
 sys_prctl
 sys_getpagesize
diff --git a/m32r.m4 b/m32r.m4
index b1b6f39..132271e 100644
--- a/m32r.m4
+++ b/m32r.m4
@@ -161,7 +161,7 @@
 sched_get_priority_max
 sched_get_priority_min
 sched_rr_get_interval
-sys_nanosleep
+nanosleep
 sys_mremap
 sys_ni_syscall
 sys_ni_syscall
diff --git a/m68k.m4 b/m68k.m4
index 5772875..d2e6012 100644
--- a/m68k.m4
+++ b/m68k.m4
@@ -161,7 +161,7 @@
 sched_get_priority_max
 sched_get_priority_min
 sched_rr_get_interval
-sys_nanosleep
+nanosleep
 sys_mremap
 sys_setresuid16
 sys_getresuid16
diff --git a/microblaze.m4 b/microblaze.m4
index 28e12cc..9089bdd 100644
--- a/microblaze.m4
+++ b/microblaze.m4
@@ -161,7 +161,7 @@
 sched_get_priority_max
 sched_get_priority_min
 sched_rr_get_interval
-sys_nanosleep
+nanosleep
 sys_mremap
 sys_setresuid
 sys_getresuid
diff --git a/mips-C.m4 b/mips-C.m4
index 3f92a2f..afe755e 100644
--- a/mips-C.m4
+++ b/mips-C.m4
@@ -165,7 +165,7 @@
 sched_get_priority_max
 sched_get_priority_min
 sched_rr_get_interval
-compat_sys_nanosleep
+nanosleep
 sys_mremap
 sys_accept
 sys_bind
diff --git a/mips-n32.m4 b/mips-n32.m4
index bcc3a1f..fa00b08 100644
--- a/mips-n32.m4
+++ b/mips-n32.m4
@@ -33,7 +33,7 @@
 sys_dup
 sys_dup2
 sys_pause
-compat_sys_nanosleep
+nanosleep
 getitimer
 setitimer
 sys_alarm
diff --git a/mips32.m4 b/mips32.m4
index d46efa1..524d237 100644
--- a/mips32.m4
+++ b/mips32.m4
@@ -165,7 +165,7 @@
 sched_get_priority_max
 sched_get_priority_min
 sched_rr_get_interval
-sys_nanosleep,
+nanosleep,
 sys_mremap,
 sys_accept
 sys_bind
diff --git a/mips64.m4 b/mips64.m4
index 53e9c25..13eea75 100644
--- a/mips64.m4
+++ b/mips64.m4
@@ -33,7 +33,7 @@
 sys_dup
 sys_dup2
 sys_pause
-sys_nanosleep
+nanosleep
 getitimer
 setitimer
 sys_alarm
diff --git a/mn10300.m4 b/mn10300.m4
index 1420166..66cf78c 100644
--- a/mn10300.m4
+++ b/mn10300.m4
@@ -161,7 +161,7 @@
 sched_get_priority_max
 sched_get_priority_min
 sched_rr_get_interval
-sys_nanosleep
+nanosleep
 sys_mremap
 sys_setresuid16
 sys_getresuid16
diff --git a/openrisc.m4 b/openrisc.m4
index 0e1eef6..b9209ba 100644
--- a/openrisc.m4
+++ b/openrisc.m4
@@ -100,7 +100,7 @@
 sys_futex
 sys_set_robust_list
 sys_get_robust_list
-sys_nanosleep
+nanosleep
 getitimer
 setitimer
 sys_kexec_load
diff --git a/parisc-C.m4 b/parisc-C.m4
index 5f8d1f0..c778215 100644
--- a/parisc-C.m4
+++ b/parisc-C.m4
@@ -161,7 +161,7 @@
 sched_get_priority_max
 sched_get_priority_min
 sched_rr_get_interval
-compat_sys_nanosleep
+nanosleep
 sys_mremap
 sys_setresuid
 sys_getresuid
diff --git a/parisc32.m4 b/parisc32.m4
index 8c3e768..9f829cc 100644
--- a/parisc32.m4
+++ b/parisc32.m4
@@ -161,7 +161,7 @@
 sched_get_priority_max
 sched_get_priority_min
 sched_rr_get_interval
-sys_nanosleep
+nanosleep
 sys_mremap
 sys_setresuid
 sys_getresuid
diff --git a/parisc64.m4 b/parisc64.m4
index 0954cff..247607b 100644
--- a/parisc64.m4
+++ b/parisc64.m4
@@ -161,7 +161,7 @@
 sched_get_priority_max
 sched_get_priority_min
 sched_rr_get_interval
-sys_nanosleep
+nanosleep
 sys_mremap
 sys_setresuid
 sys_getresuid
diff --git a/powerpc-C.m4 b/powerpc-C.m4
index 7be0a4a..fdd8cf5 100644
--- a/powerpc-C.m4
+++ b/powerpc-C.m4
@@ -161,7 +161,7 @@
 sched_get_priority_max
 sched_get_priority_min
 sched_rr_get_interval
-compat_sys_nanosleep
+nanosleep
 sys_mremap
 sys_setresuid
 sys_getresuid
diff --git a/powerpc32.m4 b/powerpc32.m4
index d96b8f7..208c32d 100644
--- a/powerpc32.m4
+++ b/powerpc32.m4
@@ -161,7 +161,7 @@
 sched_get_priority_max
 sched_get_priority_min
 sched_rr_get_interval
-sys_nanosleep
+nanosleep
 sys_mremap
 sys_setresuid
 sys_getresuid
diff --git a/powerpc64.m4 b/powerpc64.m4
index 597351c..3586545 100644
--- a/powerpc64.m4
+++ b/powerpc64.m4
@@ -161,7 +161,7 @@
 sched_get_priority_max
 sched_get_priority_min
 sched_rr_get_interval
-sys_nanosleep
+nanosleep
 sys_mremap
 sys_setresuid
 sys_getresuid
diff --git a/s390.m4 b/s390.m4
index 1c49dd3..bd74233 100644
--- a/s390.m4
+++ b/s390.m4
@@ -161,7 +161,7 @@
 sched_get_priority_max
 sched_get_priority_min
 sched_rr_get_interval
-sys_nanosleep
+nanosleep
 sys_mremap
 sys_setresuid16
 sys_getresuid16
diff --git a/s390x.m4 b/s390x.m4
index 9199804..93624bd 100644
--- a/s390x.m4
+++ b/s390x.m4
@@ -161,7 +161,7 @@
 sched_get_priority_max
 sched_get_priority_min
 sched_rr_get_interval
-sys_nanosleep
+nanosleep
 sys_mremap
 sys_ni_syscall
 sys_ni_syscall
diff --git a/score.m4 b/score.m4
index 7c909a0..3831e2a 100644
--- a/score.m4
+++ b/score.m4
@@ -100,7 +100,7 @@
 sys_futex
 sys_set_robust_list
 sys_get_robust_list
-sys_nanosleep
+nanosleep
 getitimer
 setitimer
 sys_kexec_load
diff --git a/sh32.m4 b/sh32.m4
index 2d835f3..b61f9a6 100644
--- a/sh32.m4
+++ b/sh32.m4
@@ -161,7 +161,7 @@
 sched_get_priority_max
 sched_get_priority_min
 sched_rr_get_interval
-sys_nanosleep
+nanosleep
 sys_mremap
 sys_setresuid16
 sys_getresuid16
diff --git a/sh64.m4 b/sh64.m4
index 4fc2405..5dcf7ec 100644
--- a/sh64.m4
+++ b/sh64.m4
@@ -161,7 +161,7 @@
 sched_get_priority_max
 sched_get_priority_min
 sched_rr_get_interval
-sys_nanosleep
+nanosleep
 sys_mremap
 sys_setresuid16
 sys_getresuid16
diff --git a/sparc-C.m4 b/sparc-C.m4
index 9df97b7..c028372 100644
--- a/sparc-C.m4
+++ b/sparc-C.m4
@@ -248,7 +248,7 @@
 sys32_sched_get_priority_max
 sys32_sched_get_priority_min
 sched_rr_get_interval
-compat_sys_nanosleep
+nanosleep
 sys_mremap
 compat_sys_sysctl
 sys32_getsid
diff --git a/sparc32.m4 b/sparc32.m4
index bb6f6b0..d24546e 100644
--- a/sparc32.m4
+++ b/sparc32.m4
@@ -248,7 +248,7 @@
 sched_get_priority_max
 sched_get_priority_min
 sched_rr_get_interval
-sys_nanosleep
+nanosleep
 sys_mremap
 sys_sysctl
 sys_getsid
diff --git a/sparc64.m4 b/sparc64.m4
index bf9fe56..2233270 100644
--- a/sparc64.m4
+++ b/sparc64.m4
@@ -248,7 +248,7 @@
 sched_get_priority_max
 sched_get_priority_min
 sched_rr_get_interval
-sys_nanosleep
+nanosleep
 sys_64_mremap
 sys_sysctl
 sys_getsid
diff --git a/tile-C.m4 b/tile-C.m4
index 5ca89bd..b88dc99 100644
--- a/tile-C.m4
+++ b/tile-C.m4
@@ -100,7 +100,7 @@
 compat_sys_futex
 compat_sys_set_robust_list
 compat_sys_get_robust_list
-compat_sys_nanosleep
+nanosleep
 getitimer
 setitimer
 compat_sys_kexec_load
diff --git a/tile32.m4 b/tile32.m4
index ed42952..8556254 100644
--- a/tile32.m4
+++ b/tile32.m4
@@ -100,7 +100,7 @@
 sys_futex
 sys_set_robust_list
 sys_get_robust_list
-sys_nanosleep
+nanosleep
 getitimer
 setitimer
 sys_kexec_load
diff --git a/tile64.m4 b/tile64.m4
index ed066e8..f69c4d7 100644
--- a/tile64.m4
+++ b/tile64.m4
@@ -100,7 +100,7 @@
 sys_futex
 sys_set_robust_list
 sys_get_robust_list
-sys_nanosleep
+nanosleep
 getitimer
 setitimer
 sys_kexec_load
diff --git a/unicore32.m4 b/unicore32.m4
index c937a75..63cc8a5 100644
--- a/unicore32.m4
+++ b/unicore32.m4
@@ -100,7 +100,7 @@
 sys_futex
 sys_set_robust_list
 sys_get_robust_list
-sys_nanosleep
+nanosleep
 getitimer
 setitimer
 sys_kexec_load
diff --git a/x32.m4 b/x32.m4
index 164fed2..dcd9490 100644
--- a/x32.m4
+++ b/x32.m4
@@ -29,7 +29,7 @@
 sys_dup
 sys_dup2
 sys_pause
-sys_nanosleep
+nanosleep
 getitimer
 sys_alarm
 setitimer
diff --git a/x86-C.m4 b/x86-C.m4
index 5bb7260..1de9e93 100644
--- a/x86-C.m4
+++ b/x86-C.m4
@@ -148,7 +148,7 @@
 sched_get_priority_max
 sched_get_priority_min
 sched_rr_get_interval
-compat_sys_nanosleep
+nanosleep
 sys_mremap
 sys_setresuid16
 sys_getresuid16
diff --git a/xtensa.m4 b/xtensa.m4
index ec1c49b..82bbbad 100644
--- a/xtensa.m4
+++ b/xtensa.m4
@@ -194,7 +194,7 @@
 sys_gettimeofday
 sys_settimeofday
 sys_adjtimex
-sys_nanosleep
+nanosleep
 sys_getgroups
 sys_setgroups
 sys_sethostname