aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/timer.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/kernel/timer.c b/kernel/timer.c
index 8533c3796082..4902181e10e6 100644
--- a/kernel/timer.c
+++ b/kernel/timer.c
@@ -1162,11 +1162,9 @@ static inline void calc_load(unsigned long ticks)
1162 * This read-write spinlock protects us from races in SMP while 1162 * This read-write spinlock protects us from races in SMP while
1163 * playing with xtime and avenrun. 1163 * playing with xtime and avenrun.
1164 */ 1164 */
1165#ifndef ARCH_HAVE_XTIME_LOCK 1165__attribute__((weak)) __cacheline_aligned_in_smp DEFINE_SEQLOCK(xtime_lock);
1166__cacheline_aligned_in_smp DEFINE_SEQLOCK(xtime_lock);
1167 1166
1168EXPORT_SYMBOL(xtime_lock); 1167EXPORT_SYMBOL(xtime_lock);
1169#endif
1170 1168
1171/* 1169/*
1172 * This function runs timers and the timer-tq in bottom half context. 1170 * This function runs timers and the timer-tq in bottom half context.