public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3715ad
)
sched_yield: simplify
author
Alan Cox
<alan@linux.intel.com>
Sun, 29 Apr 2018 00:41:50 +0000
(
01:41
+0100)
committer
Alan Cox
<alan@linux.intel.com>
Sun, 29 Apr 2018 00:41:50 +0000
(
01:41
+0100)
switchout now does the right thing for us
Kernel/syscall_proc.c
patch
|
blob
|
history
diff --git
a/Kernel/syscall_proc.c
b/Kernel/syscall_proc.c
index
de24649
..
93b1035
100644
(file)
--- a/
Kernel/syscall_proc.c
+++ b/
Kernel/syscall_proc.c
@@
-620,7
+620,6
@@
_sched_yield (void) Function 62
arg_t _sched_yield(void)
{
- if (nready > 1)
- switchout();
+ switchout();
return 0;
}