Repository navigation
Commit fdc7a2b
sched/tcb: change the type of tcb->flags to atomic_t
The previous commit changed every access to tcb->flags to use the
atomic_* API but left the field itself as uint32_t, which the
aarch64 clang build rejects ("address argument to atomic operation
must be a pointer to _Atomic type"). Give the field the atomic_t
type those operations require.
Signed-off-by: hujun5 <hujun5@xiaomi.com>
Signed-off-by: zhangyuan29 <zhangyuan29@xiaomi.com>1 parent efb43a8 commit fdc7a2b
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
664 | 664 | | |
665 | 665 | | |
666 | 666 | | |
667 | | - | |
| 667 | + | |
668 | 668 | | |
669 | 669 | | |
670 | 670 | | |
| |||
0 commit comments