diff options
Diffstat (limited to 'arch/arm/kernel')
-rw-r--r-- | arch/arm/kernel/smp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/kernel/smp.c b/arch/arm/kernel/smp.c index addbbe8028c2..11c4148b8abb 100644 --- a/arch/arm/kernel/smp.c +++ b/arch/arm/kernel/smp.c | |||
@@ -454,6 +454,9 @@ static struct local_timer_ops *lt_ops; | |||
454 | #ifdef CONFIG_LOCAL_TIMERS | 454 | #ifdef CONFIG_LOCAL_TIMERS |
455 | int local_timer_register(struct local_timer_ops *ops) | 455 | int local_timer_register(struct local_timer_ops *ops) |
456 | { | 456 | { |
457 | if (!is_smp() || !setup_max_cpus) | ||
458 | return -ENXIO; | ||
459 | |||
457 | if (lt_ops) | 460 | if (lt_ops) |
458 | return -EBUSY; | 461 | return -EBUSY; |
459 | 462 | ||