arch: riscv: Use infinite loop instead of simple wfi to halt slave core

If it's a multicore system, infinite loop wfi to halt slave core

Signed-off-by: Huang Qi <757509347@qq.com>
1 file changed