diff options
-rw-r--r-- | sys/arch/amd64/amd64/mp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arch/amd64/amd64/mp.c b/sys/arch/amd64/amd64/mp.c index 9512aa6..804bca6 100644 --- a/sys/arch/amd64/amd64/mp.c +++ b/sys/arch/amd64/amd64/mp.c @@ -47,7 +47,7 @@ static volatile struct limine_smp_request g_smp_req = { static void ap_trampoline(struct limine_smp_info *si) { - struct spinlock lock = {0}; + static struct spinlock lock = {0}; struct cpu_info *ci; spinlock_acquire(&lock); |