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/hexagon/include/asm/spinlock_types.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/kernel/arch/hexagon/include/asm/spinlock_types.h b/kernel/arch/hexagon/include/asm/spinlock_types.h index de72fb2..19d2334 100644 --- a/kernel/arch/hexagon/include/asm/spinlock_types.h +++ b/kernel/arch/hexagon/include/asm/spinlock_types.h @@ -8,6 +8,10 @@ #ifndef _ASM_SPINLOCK_TYPES_H #define _ASM_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