commit | ceb33be95afcfbc4079af334835a345288f9f6ca | [log] [tgz] |
---|---|---|
author | Yi Li <yi.li@analog.com> | Tue Sep 15 06:50:51 2009 +0000 |
committer | Mike Frysinger <vapier@gentoo.org> | Tue Dec 15 00:13:41 2009 -0500 |
tree | 7244fbd018015de1139df8620f52e2d52751c68e | |
parent | f7036d649c88ad14b482b2787ffb1063c8a719d7 [diff] |
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 <yi.li@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>