freeze(): add cpu_pause() to the frozen state loop
I guess cpu_halt is not enough on arm?... I don't get it. Change-Id: Ic67113ae474e5b3af91734d763f1498a19f6a948 Fujitsu: POSTK_DEBUG_ARCH_DEP_82
This commit is contained in:
@@ -17,8 +17,10 @@ freeze()
|
|||||||
|
|
||||||
monitor->status_bak = monitor->status;
|
monitor->status_bak = monitor->status;
|
||||||
monitor->status = IHK_OS_MONITOR_KERNEL_FROZEN;
|
monitor->status = IHK_OS_MONITOR_KERNEL_FROZEN;
|
||||||
while (monitor->status == IHK_OS_MONITOR_KERNEL_FROZEN)
|
while (monitor->status == IHK_OS_MONITOR_KERNEL_FROZEN) {
|
||||||
cpu_halt();
|
cpu_halt();
|
||||||
|
cpu_pause();
|
||||||
|
}
|
||||||
monitor->status = monitor->status_bak;
|
monitor->status = monitor->status_bak;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user