summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2022-10-24 21:08:09 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-12-31 13:31:56 +0100
commitb457907d50670b03e7a8afe49761d5b250bb2c0f (patch)
treec57f1c8ae90aec60c6e415fd6ae3e305867b7560 /lib
parent21bec0ebb854e358c6c3be55af553131808323c3 (diff)
downloadlinux-b457907d50670b03e7a8afe49761d5b250bb2c0f.tar.gz
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: 1f5bd0547654 ("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>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions