ladybird/Kernel/Arch/Spinlock.h
James Mintram e8f09279d3 Kernel: Move spinlock into Arch
Spinlocks are tied to the platform they are built for, this is why they
have been moved into the Arch folder. They are still available via
"Locking/Spinlock.h"

An Aarch64 stub has been created
2021-10-15 21:48:45 +01:00

17 lines
338 B
C

/*
* Copyright (c) 2020, Andreas Kling <kling@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/Platform.h>
#if ARCH(X86_64) || ARCH(I386)
# include <Kernel/Arch/x86/Spinlock.h>
#elif ARCH(AARCH64)
# include <Kernel/Arch/aarch64/Spinlock.h>
#else
# error "Unknown architecture"
#endif