From: John Jacques <[email protected]>

Signed-off-by: John Jacques <[email protected]>
---
 kernel/time/timer.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/kernel/time/timer.c b/kernel/time/timer.c
index c68ba87..0e0e875 100644
--- a/kernel/time/timer.c
+++ b/kernel/time/timer.c
@@ -1087,7 +1087,10 @@ int try_to_del_timer_sync(struct timer_list *timer)
 EXPORT_SYMBOL(try_to_del_timer_sync);
 
 #if defined(CONFIG_SMP) || defined(CONFIG_PREEMPT_RT_FULL)
+
+#if defined(CONFIG_SMP)
 static DEFINE_PER_CPU(struct tvec_base, __tvec_bases);
+#endif
 
 /**
  * del_timer_sync - deactivate a timer and wait for the handler to finish.
-- 
1.9.1

-- 
_______________________________________________
linux-yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/linux-yocto

Reply via email to