Files
android_kernel_xiaomi_sm8450/tools/testing/selftests/proc
Alexey Dobriyan 9f6ea28f29 proc: fixup uptime selftest
[ Upstream commit 5cc81d5c81af0dee54da9a67a3ebe4be076a13db ]

syscall(3) returns -1 and sets errno on error, unlike "syscall"
instruction.

Systems which have <= 32/64 CPUs are unaffected. Test won't bounce
to all CPUs before completing if there are more of them.

Link: https://lkml.kernel.org/r/Y1bUiT7VRXlXPQa1@p183
Fixes: 1f5bd05476 ("proc: selftests: test /proc/uptime")
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-01-14 10:15:16 +01:00
..
2018-04-11 10:28:34 -07:00
2018-04-12 20:52:25 -07:00
2023-01-14 10:15:16 +01:00
2018-08-22 10:52:45 -07:00
2019-03-05 21:07:22 -08:00
2018-08-22 10:52:45 -07:00