From: Oleg Nesterov Date: Fri, 1 Feb 2008 17:41:30 +0000 (+0300) Subject: hrtimer: don't modify restart_block->fn in restart functions X-Git-Tag: v2.6.25-rc1~5^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c289b074b66e2e59c65aba73f40b99e797e92d2f;p=pandora-kernel.git hrtimer: don't modify restart_block->fn in restart functions hrtimer_nanosleep_restart() clears/restores restart_block->fn. This is pointless and complicates its usage. Note that if sys_restart_syscall() doesn't actually happen, we have a bogus "pending" restart->fn anyway, this is harmless. Signed-off-by: Oleg Nesterov Cc: Alexey Dobriyan Cc: Pavel Emelyanov Cc: Peter Zijlstra Cc: Toyo Abe Cc: Andrew Morton Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed