commit | 5927ad78ec75870b1bdfa65a10ad1300cd664d36 | [log] [tgz] |
---|---|---|
author | Renaud Lienhart <renaud.lienhart@free.fr> | Sat Sep 10 00:26:20 2005 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Sat Sep 10 10:06:23 2005 -0700 |
tree | 1eef750386a8bfa1e2532138a67a6d8bc8dad85b | |
parent | 5969fe0618051e8577316555a81a6e44b7b7d640 [diff] |
[PATCH] sched: use cached variable in sys_sched_yield() 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>