diff options
author | Ian Moffett <ian@osmora.org> | 2024-07-10 20:22:25 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-07-10 20:22:25 -0400 |
commit | d243e9b36fe2bf8e9551cc6677aaa2747604fcfa (patch) | |
tree | b33df4ba7f0fade5523d749f5bc39a25cded1fe5 /sys/arch/amd64/amd64 | |
parent | 29234bb23abe2ded7a9e0e36be78bfd98f0e6fff (diff) |
kernel/amd64: mp: Add missing "static"
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/arch/amd64/amd64')
-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); |