We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c819dbd commit 8248ca3Copy full SHA for 8248ca3
drivers/clocksource/timer-riscv.c
@@ -108,6 +108,9 @@ static int riscv_timer_starting_cpu(unsigned int cpu)
108
{
109
struct clock_event_device *ce = per_cpu_ptr(&riscv_clock_event, cpu);
110
111
+ /* Clear timer interrupt */
112
+ riscv_clock_event_stop();
113
+
114
ce->cpumask = cpumask_of(cpu);
115
ce->irq = riscv_clock_event_irq;
116
if (riscv_timer_cannot_wake_cpu)
0 commit comments