sched: optimize sched_clock() a bit
authorIngo Molnar <mingo@elte.hu>
Sat, 8 Nov 2008 16:05:38 +0000 (17:05 +0100)
committerIngo Molnar <mingo@elte.hu>
Sat, 8 Nov 2008 16:05:38 +0000 (17:05 +0100)
sched_clock() uses cycles_2_ns() needlessly - which is an irq-disabling
variant of __cycles_2_ns().

Most of the time sched_clock() is called with irqs disabled already.
The few places that call it with irqs enabled need to be updated.

Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found