From d243e9b36fe2bf8e9551cc6677aaa2747604fcfa Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Wed, 10 Jul 2024 20:22:25 -0400 Subject: kernel/amd64: mp: Add missing "static" Signed-off-by: Ian Moffett --- sys/arch/amd64/amd64/mp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys') 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); -- cgit v1.2.3