]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/selftest: fix type of mftb() in null_syscall
authorChristophe Leroy <christophe.leroy@c-s.fr>
Tue, 22 Jan 2019 13:54:57 +0000 (13:54 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 21 Feb 2019 13:10:15 +0000 (00:10 +1100)
commitcddad3ec9db8253faf5c41668c7a45e34841b198
tree0dcb8cefb75c400526de1e2c0911e6670f3064db
parentc952d230c256dcc3d6dacccb0f670e267f59086f
powerpc/selftest: fix type of mftb() in null_syscall

All callers of mftb() expect 'unsigned long', and the function itself
only returns lower part of the TB so it really is 'unsigned long'
not 'unsigned long long'

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
tools/testing/selftests/powerpc/benchmarks/null_syscall.c