x85, SMP: Fix compile error
GCC 10.2.1 doesn't like declarations inside a case statement without a new context. Signed-off-by: Indan Zupancic <indan@nul.nu>
This commit is contained in:
parent
c6c84d7aef
commit
87421cf7b2
1 changed files with 2 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ void handleRemoteCall(IpiRemoteCall_t call, word_t arg0, word_t arg1, word_t arg
|
|||
case IpiRemoteCall_ClearCurrentVCPU:
|
||||
clearCurrentVCPU();
|
||||
break;
|
||||
case IpiRemoteCall_VMCheckBoundNotification:
|
||||
case IpiRemoteCall_VMCheckBoundNotification: {
|
||||
tcb_t *tcb = (tcb_t *)arg0;
|
||||
|
||||
/* For a running VM notifications are already checked by handleVmexit */
|
||||
|
|
@ -53,6 +53,7 @@ void handleRemoteCall(IpiRemoteCall_t call, word_t arg0, word_t arg1, word_t arg
|
|||
VMCheckBoundNotification(tcb);
|
||||
}
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
default:
|
||||
Mode_handleRemoteCall((IpiModeRemoteCall_t)call, arg0, arg1, arg2);
|
||||
|
|
|
|||
Loading…
Reference in a new issue