Revert "selftests/cgroup: Drop define _GNU_SOURCE"
authorShuah Khan <skhan@linuxfoundation.org>
Fri, 17 May 2024 02:22:37 +0000 (20:22 -0600)
committerShuah Khan <skhan@linuxfoundation.org>
Mon, 20 May 2024 15:00:15 +0000 (09:00 -0600)
commita97853f25b06f71c23b2d7a59fbd40f3f42d55ac
treec420c9770c244dd666984e64824be4a57143523d
parent3da164023582969280df17636a9d829752787b1c
Revert "selftests/cgroup: Drop define _GNU_SOURCE"

This reverts commit c1457d9aad5ee2feafcf85aa9a58ab50500159d2.

The framework change to add D_GNU_SOURCE to KHDR_INCLUDES
to Makefile, lib.mk, and kselftest_harness.h is reverted
as it is causing build failures and warnings.

Revert this change as this change depends on the framework
change.

Reported-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/cgroup/cgroup_util.c
tools/testing/selftests/cgroup/test_core.c
tools/testing/selftests/cgroup/test_cpu.c
tools/testing/selftests/cgroup/test_hugetlb_memcg.c
tools/testing/selftests/cgroup/test_kmem.c
tools/testing/selftests/cgroup/test_memcontrol.c
tools/testing/selftests/cgroup/test_zswap.c