From 90e47bf1f58170beea24d69c5a92dd6c19246baa Mon Sep 17 00:00:00 2001 From: p-szafonimateusz Date: Tue, 30 Jul 2024 10:50:31 +0200 Subject: [PATCH] arch/x86_64/src/intel64/intel64_cpu.c: remove workaround for spin_lock remove workaround for spin_lock which is no longer needed after inline splinlock change --- arch/x86_64/src/intel64/intel64_cpu.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/arch/x86_64/src/intel64/intel64_cpu.c b/arch/x86_64/src/intel64/intel64_cpu.c index d46ebd98c0..ae59f1611f 100644 --- a/arch/x86_64/src/intel64/intel64_cpu.c +++ b/arch/x86_64/src/intel64/intel64_cpu.c @@ -43,12 +43,6 @@ * Pre-processor Definitions ****************************************************************************/ -/* Avoid undefined error when CONFIG_SPINLOCK=n */ - -#ifndef spin_lock -# define spin_lock(s) -#endif - #define IRQ_STACK_ALLOC (IRQ_STACK_SIZE * CONFIG_SMP_NCPUS) /****************************************************************************