mirror of
https://github.com/hermitcore/libhermit.git
synced 2025-03-09 00:00:03 +01:00
only if more than one processor is online, IPIs will be triggered
This commit is contained in:
parent
4314589c42
commit
98eda3c24c
1 changed files with 1 additions and 1 deletions
|
@ -858,7 +858,7 @@ int ipi_tlb_flush(void)
|
|||
{
|
||||
uint32_t id = CORE_ID;
|
||||
|
||||
if (atomic_int32_read(&cpu_online) == 1)
|
||||
if (atomic_int32_read(&cpu_online) <= 1)
|
||||
return 0;
|
||||
|
||||
if (has_x2apic()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue