Skip to content

Commit

Permalink
compiler/tasking: fix build break after inline spinlock change
Browse files Browse the repository at this point in the history
Regression by:
| commit a4fece3
| Author: hujun5 <[email protected]>
| Date:   Wed Jul 3 15:10:49 2024 +0800
|
|     spin_lock: inline spin_lock

Signed-off-by: chao an <[email protected]>
  • Loading branch information
anchao authored and xiaoxiang781216 committed Jul 16, 2024
1 parent bc7791e commit 532c437
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/nuttx/compiler.h
Original file line number Diff line number Diff line change
Expand Up @@ -993,7 +993,8 @@
# define end_packed_struct __attribute__((packed))
# define reentrant_function
# define naked_function
# define always_inline_function __attribute__((always_inline))
# define always_inline_function __attribute__((always_inline,no_instrument_function))
# define inline_function __attribute__((always_inline)) inline
# define noinline_function __attribute__((noinline))
# define noinstrument_function
# define nooptimiziation_function __attribute__((optimize(0)))
Expand Down

0 comments on commit 532c437

Please sign in to comment.