aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/timer.c')
-rw-r--r--kernel/timer.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/kernel/timer.c b/kernel/timer.c
index 31824ef3eb96..949d74ea0ce4 100644
--- a/kernel/timer.c
+++ b/kernel/timer.c
@@ -1555,9 +1555,8 @@ static int init_timers_cpu(int cpu)
1555 if (!base) 1555 if (!base)
1556 return -ENOMEM; 1556 return -ENOMEM;
1557 1557
1558 /* Make sure that tvec_base is 2 byte aligned */ 1558 /* Make sure tvec_base has TIMER_FLAG_MASK bits free */
1559 if (tbase_get_deferrable(base)) { 1559 if (WARN_ON(base != tbase_get_base(base))) {
1560 WARN_ON(1);
1561 kfree(base); 1560 kfree(base);
1562 return -ENOMEM; 1561 return -ENOMEM;
1563 } 1562 }