diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-04-23 03:31:35 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-05-05 17:56:18 -0400 |
commit | 690229a0912ca2fef8b542fe4d8b73acfcdc6e24 (patch) | |
tree | 28be1db230f039589650f2b5d46de9e6f5722ef0 /kernel/sched.c | |
parent | d7dcdc11cfa6a8860a29b09f985467b89224699d (diff) |
sched: make clock sync tunable by architecture code
make time_sync_thresh tunable to architecture code.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 3ac3d7af04a1..8f433fedfcb3 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -899,7 +899,7 @@ static inline u64 global_rt_runtime(void) | |||
899 | return (u64)sysctl_sched_rt_runtime * NSEC_PER_USEC; | 899 | return (u64)sysctl_sched_rt_runtime * NSEC_PER_USEC; |
900 | } | 900 | } |
901 | 901 | ||
902 | static const unsigned long long time_sync_thresh = 100000; | 902 | unsigned long long time_sync_thresh = 100000; |
903 | 903 | ||
904 | static DEFINE_PER_CPU(unsigned long long, time_offset); | 904 | static DEFINE_PER_CPU(unsigned long long, time_offset); |
905 | static DEFINE_PER_CPU(unsigned long long, prev_cpu_time); | 905 | static DEFINE_PER_CPU(unsigned long long, prev_cpu_time); |