Skip to content
Commit b441aab7 authored by Stafford Horne's avatar Stafford Horne
Browse files

openrisc: fix initial preempt state for secondary cpu tasks



During SMP testing we were getting the below warning after booting the
secondary cpu:

[    0.060000] BUG: scheduling while atomic: swapper/1/0/0x00000000

This change follows similar patterns from other architectures to start
the schduler with preempt disabled.

Signed-off-by: default avatarStafford Horne <shorne@gmail.com>
parent 8e6d08e0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment