lib: do sbi_exit() upon halt IPI
authorAnup Patel <anup.patel@wdc.com>
Fri, 3 Jan 2020 05:44:21 +0000 (11:14 +0530)
committerAnup Patel <anup.patel@wdc.com>
Tue, 7 Jan 2020 06:41:31 +0000 (12:11 +0530)
commitb0c9787435e56550aea4d110dc503ac23f9801a6
treee1d762e6fcf1c380bd707ba9fdedb1bf0f1ee3f9
parent2aa43a13cdd32f11c2dac30265272c9af8c6e42b
lib: do sbi_exit() upon halt IPI

Instead of doing sbi_hang() we should do sbi_exit() upon
halt IPI.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
lib/sbi/sbi_ipi.c