consistency: change all remaining syscalls to use SYS_ rather than __NR_ prefix

This commit is contained in:
Rich Felker
2011-04-06 20:32:53 -04:00
parent b2486a8922
commit c2cd25bff8
38 changed files with 40 additions and 40 deletions
+1 -1
View File
@@ -7,5 +7,5 @@ void __lock(volatile int *l)
* assignment to optimize non-pathological code with no contention. */
while (a_xchg(l, 1))
if (spins) spins--, a_spin();
else __syscall(__NR_sched_yield);
else __syscall(SYS_sched_yield);
}