Revert "Revert "atomic: use <linux/atomic.h>""

This reverts commit 6830da1d695cadecba6586630133a98904c91718.