Skip to content
Commit 2c3d103b authored by Hugh Dickins's avatar Hugh Dickins Committed by Ingo Molnar
Browse files

sched: move sched_clock before first use



Move sched_clock() up to stop warning: weak declaration of `sched_clock'
after first use results in unspecified behavior (if -fno-unit-at-a-time).

Signed-off-by: default avatarHugh Dickins <hugh@veritas.com>
Cc: Mike Travis <travis@sgi.com>
Cc: Ben Herrenschmidt <benh@kernel.crashing.org>
Cc: Linuxppc-dev@ozlabs.org
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent e26873bb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment