Re: [PATCH 3/3] Mini-OS: cleanup hypervisor.c

2023-12-12 Thread Samuel Thibault
Juergen Gross, le lun. 11 déc. 2023 14:48:27 +0100, a ecrit: > Do the following cleanups in hypervisor.c: > > - Let hypervisor.c conform to the coding style. > - Drop the bogus "inline" attributes of exported functions. > - Replace a always zero cpu variable with smp_processor_id() as > elsewher

[PATCH 3/3] Mini-OS: cleanup hypervisor.c

2023-12-11 Thread Juergen Gross
Do the following cleanups in hypervisor.c: - Let hypervisor.c conform to the coding style. - Drop the bogus "inline" attributes of exported functions. - Replace a always zero cpu variable with smp_processor_id() as elsewhere in the code. - Replace "if () BUG()" with BUG_ON() in case the conditio