selftests/vm: remove ARRAY_SIZE define from individual tests
authorShuah Khan <skhan@linuxfoundation.org>
Thu, 9 Dec 2021 23:35:02 +0000 (16:35 -0700)
committerShuah Khan <skhan@linuxfoundation.org>
Sat, 11 Dec 2021 00:51:25 +0000 (17:51 -0700)
commite89908201e2509354c40158b517945bf3d645812
treed78cee77b685968c386697817474dcf320acae3c
parent7527c03870fd7bfb21b13656c8b5dda30b6685a7
selftests/vm: remove ARRAY_SIZE define from individual tests

ARRAY_SIZE is defined in several selftests. Remove definitions from
individual test files and include header file for the define instead.
ARRAY_SIZE define is added in a separate patch to prepare for this
change.

Remove ARRAY_SIZE from vm tests and pickup the one defined in
kselftest.h.

Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/vm/mremap_test.c
tools/testing/selftests/vm/pkey-helpers.h
tools/testing/selftests/vm/va_128TBswitch.c