Skip to content
Commit 53d517cd authored by Guillaume Chazarain's avatar Guillaume Chazarain Committed by Ingo Molnar
Browse files

x86: scale cyc_2_nsec according to CPU frequency



scale the sched_clock() cyc_2_nsec scaling factor according to
CPU frequency changes.

[ mingo@elte.hu: simplified it and fixed it for SMP. ]

Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 83bd0102
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment