Commit Graph
2 Commits
Author SHA1 Message Date
Christophe Leroy beb4f4722c 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 <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
2019-02-22 00:10:15 +11:00
Anton Blanchard d8db9bc55a selftests/powerpc: Add Anton's null_syscall benchmark to the selftests
Pull in a version of Anton's null_syscall benchmark:
  http://ozlabs.org/~anton/junkcode/null_syscall.c

Suggested-by: Michael Ellerman <[email protected]>
Signed-off-by: Anton Blanchard <[email protected]>
Signed-off-by: Rui Teng <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
2016-11-14 11:11:51 +11:00