hw: fix build error with gcc 10

Fixes #4115
This commit is contained in:
Christian Prochaska 2021-03-26 23:22:47 +01:00 committed by Norman Feske
parent eb53f8c113
commit c4e3d3dbc4

View File

@ -39,7 +39,7 @@ Kernel::Vm::Vm(unsigned,
void Vm::exception(Cpu & cpu)
{
switch(_state.cpu_exception) {
case Genode::Cpu_state::INTERRUPT_REQUEST: [[fallthrough]]
case Genode::Cpu_state::INTERRUPT_REQUEST: [[fallthrough]];
case Genode::Cpu_state::FAST_INTERRUPT_REQUEST:
_interrupt(cpu.id());
return;