Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7d7975a0 authored by Russell King's avatar Russell King
Browse files

ARM: footbridge: fix clock event support



4e8d7637 (ARM: footbridge: convert to clockevents/clocksource) did
not set the cpumask for the clock event device.  This causes boot
to fail.  Add the necessary initialization.

Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent e172dedd
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -103,6 +103,7 @@ static void __init footbridge_timer_init(void)
	clockevents_calc_mult_shift(ce, mem_fclk_21285, 5);
	ce->max_delta_ns = clockevent_delta2ns(0xffffff, ce);
	ce->min_delta_ns = clockevent_delta2ns(0x000004, ce);
	ce->cpumask = cpumask_of(smp_processor_id());

	clockevents_register_device(ce);
}