git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5969fe0
)
[PATCH] sched: use cached variable in sys_sched_yield()
author
Renaud Lienhart
<renaud.lienhart@free.fr>
Sat, 10 Sep 2005 07:26:20 +0000
(
00:26
-0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Sat, 10 Sep 2005 17:06:23 +0000
(10:06 -0700)
In sys_sched_yield(), we cache current->array in the "array" variable, thus
there's no need to dereference "current" again later.
Signed-Off-By: Renaud Lienhart <renaud.lienhart@free.fr>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
No differences found