Skip to content

Commit

Permalink
kernel: remove C syscall include in builtin atomic header
Browse files Browse the repository at this point in the history
The builtin atomic header file should not include the syscall
header that is generated from C version of atomic functions.

Signed-off-by: Daniel Leung <[email protected]>
  • Loading branch information
dcpleung authored and nashif committed Apr 2, 2021
1 parent 64e99df commit a06d54c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions include/sys/atomic_builtin.h
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,4 @@ static inline atomic_val_t atomic_nand(atomic_t *target, atomic_val_t value)
}
#endif

#ifdef CONFIG_ATOMIC_OPERATIONS_C
#include <syscalls/atomic.h>
#endif

#endif /* ZEPHYR_INCLUDE_SYS_ATOMIC_BUILTIN_H_ */

0 comments on commit a06d54c

Please sign in to comment.