summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/thread/thr_yield.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpthread/thread/thr_yield.c')
-rw-r--r--lib/libpthread/thread/thr_yield.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpthread/thread/thr_yield.c b/lib/libpthread/thread/thr_yield.c
index ed66da6..e652a9c 100644
--- a/lib/libpthread/thread/thr_yield.c
+++ b/lib/libpthread/thread/thr_yield.c
@@ -46,7 +46,7 @@ _sched_yield(void)
curthread->slice_usec = -1;
/* Schedule the next thread: */
- _thread_kern_sched(NULL);
+ _thread_kern_sched();
/* Always return no error. */
return(0);
@@ -62,5 +62,5 @@ _pthread_yield(void)
curthread->slice_usec = -1;
/* Schedule the next thread: */
- _thread_kern_sched(NULL);
+ _thread_kern_sched();
}
OpenPOWER on IntegriCloud