kernel/smp: De-indent smp_send_ici.

No functional change intended.
This commit is contained in:
Augustin Cavalier
2026-03-17 11:54:27 -04:00
parent 19bcb3be0a
commit b6447046fc
+3 -3
View File
@@ -979,14 +979,15 @@ void
smp_send_ici(int32 targetCPU, int32 message, addr_t data, addr_t data2, smp_send_ici(int32 targetCPU, int32 message, addr_t data, addr_t data2,
addr_t data3, void* dataPointer, uint32 flags) addr_t data3, void* dataPointer, uint32 flags)
{ {
struct smp_msg *msg; if (!sICIEnabled)
return;
TRACE("smp_send_ici: target 0x%" B_PRIx32 ", mess 0x%" B_PRIx32 ", data 0x%lx, data2 0x%lx, " TRACE("smp_send_ici: target 0x%" B_PRIx32 ", mess 0x%" B_PRIx32 ", data 0x%lx, data2 0x%lx, "
"data3 0x%lx, ptr %p, flags 0x%" B_PRIx32 "\n", targetCPU, message, data, data2, "data3 0x%lx, ptr %p, flags 0x%" B_PRIx32 "\n", targetCPU, message, data, data2,
data3, dataPointer, flags); data3, dataPointer, flags);
if (sICIEnabled) {
// find_free_message leaves interrupts disabled // find_free_message leaves interrupts disabled
struct smp_msg *msg;
cpu_status state = find_free_message(&msg); cpu_status state = find_free_message(&msg);
int currentCPU = smp_get_current_cpu(); int currentCPU = smp_get_current_cpu();
@@ -1033,7 +1034,6 @@ smp_send_ici(int32 targetCPU, int32 message, addr_t data, addr_t data2,
} }
restore_interrupts(state); restore_interrupts(state);
}
} }