> Introduce the header files specifically prepared for test programs
> from the tools/include directory. And solve the problem that
> atomic_read and atomic_set may not be safe in a multi - threaded
> environment.
>
> Signed-off-by: Yuwen Chen <[email protected]>
> Reported-by: kernel test robot <[email protected]>
> Closes:
> https://lore.kernel.org/oe-kbuild-all/[email protected]/
> ---
> .../selftests/futex/functional/Makefile | 2 +-
> .../testing/selftests/futex/include/atomic.h | 25 +++++++++----------
> 2 files changed, 13 insertions(+), 14 deletions(-)
Reviewed-by: Licay <[email protected]>