selftests: cachestat: use proper syscall number macro
authorAndre Przywara <andre.przywara@arm.com>
Tue, 15 Aug 2023 15:56:11 +0000 (16:56 +0100)
committerShuah Khan <skhan@linuxfoundation.org>
Wed, 16 Aug 2023 17:12:44 +0000 (11:12 -0600)
commit9b1db732866bee060b9bca9493e5ebf5e8874c48
tree6c09acc5a8701748aaefcee2a8e102cd04c7edee
parent7fb10233e0617603402abffc0d8d2cbf5ef55560
selftests: cachestat: use proper syscall number macro

At the moment the cachestat syscall number is hard coded into the test
source code.
Remove that and replace it with the proper __NR_cachestat macro.
That ensures compatibility should other architectures pick a different
number.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Nhat Pham <nphamcs@gmail.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/cachestat/test_cachestat.c