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) /****************************************************************************