This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 90e47bf1f5 arch/x86_64/src/intel64/intel64_cpu.c: remove workaround 
for spin_lock
90e47bf1f5 is described below

commit 90e47bf1f58170beea24d69c5a92dd6c19246baa
Author: p-szafonimateusz <[email protected]>
AuthorDate: Tue Jul 30 10:50:31 2024 +0200

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

Reply via email to