From: Renaud Lienhart Date: Sat, 10 Sep 2005 07:26:20 +0000 (-0700) Subject: [PATCH] sched: use cached variable in sys_sched_yield() X-Git-Tag: v2.6.14-rc1~212 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5927ad78ec75870b1bdfa65a10ad1300cd664d36;p=pandora-kernel.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed