1
0
Fork 0
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:
Stefan Lankes 2016-08-27 18:53:26 +02:00
parent 4314589c42
commit 98eda3c24c

View file

@ -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()) {