forked from apache/nuttx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
arch/x86_64: fix build break if disable CONFIG_SPINLOCK
Create version.h chip/intel64_irq.c:78:34: error: conflicting type qualifiers for ‘g_irq_spin’ 78 | static spinlock_t g_irq_spin; | ^~~~~~~~~~ In file included from chip/intel64_irq.c:40: include/nuttx/spinlock.h:168:28: note: previous declaration of ‘g_irq_spin’ with type ‘spinlock_t’ {aka ‘volatile unsigned char’} 168 | extern volatile spinlock_t g_irq_spin; | ^~~~~~~~~~ chip/intel64_cpu.c: In function ‘x86_64_cpu_ready_set’: chip/intel64_cpu.c:314:3: warning: implicit declaration of function ‘spin_lock’ [-Wimplicit-function-declaration] 314 | spin_lock(&g_ap_boot); | ^~~~~~~~~ chip/intel64_cpu.c:322:3: warning: implicit declaration of function ‘spin_unlock’; did you mean ‘sched_unlock’? [-Wimplicit-function-declaration] 322 | spin_unlock(&g_ap_boot); | ^~~~~~~~~~~ Signed-off-by: chao an <[email protected]>
- Loading branch information
1 parent
0801adb
commit 4ef3eeb
Showing
2 changed files
with
15 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters