From 6778948f9de86c3cfaf36725a7c87dcff9ba247f Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Mon, 11 Dec 2023 08:20:59 +0000 Subject: [PATCH] kernel_5.10 no rt --- kernel/arch/alpha/include/asm/spinlock_types.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/kernel/arch/alpha/include/asm/spinlock_types.h b/kernel/arch/alpha/include/asm/spinlock_types.h index 6883bc9..1d5716b 100644 --- a/kernel/arch/alpha/include/asm/spinlock_types.h +++ b/kernel/arch/alpha/include/asm/spinlock_types.h @@ -2,6 +2,10 @@ #ifndef _ALPHA_SPINLOCK_TYPES_H #define _ALPHA_SPINLOCK_TYPES_H +#ifndef __LINUX_SPINLOCK_TYPES_H +# error "please don't include this file directly" +#endif + typedef struct { volatile unsigned int lock; } arch_spinlock_t; -- Gitblit v1.6.2