aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers.c
diff options
context:
space:
mode:
authorAndre Przywara <[email protected]>2023-08-15 15:56:11 +0000
committerShuah Khan <[email protected]>2023-08-16 17:12:44 +0000
commit9b1db732866bee060b9bca9493e5ebf5e8874c48 (patch)
tree6c09acc5a8701748aaefcee2a8e102cd04c7edee /rust/helpers.c
parentselftests: cachestat: properly link in librt (diff)
downloadkernel-9b1db732866bee060b9bca9493e5ebf5e8874c48.tar.gz
kernel-9b1db732866bee060b9bca9493e5ebf5e8874c48.zip
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 <[email protected]> Reviewed-by: Nhat Pham <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions