From: Yi Li Date: Tue, 15 Sep 2009 06:50:51 +0000 (+0000) Subject: Blackfin: unify sched_clock() handling between clock sources X-Git-Tag: v2.6.33-rc1~53^2~84 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ceb33be95afcfbc4079af334835a345288f9f6ca;p=pandora-kernel.git Blackfin: unify sched_clock() handling between clock sources Currently sched_clock() is only defined when using CYCLES as a clock source. Declare sched_clock() in common code and mark it with notrace to prevent invoking sched_clock() recursively (because ftrace uses sched_clock() to record time). Signed-off-by: Yi Li Signed-off-by: Mike Frysinger --- Reading git-diff-tree failed