selftests/powerpc: Make context_switch do something with no args
For ease of use make the context_switch test do something useful when called with no arguments. Default to a 30 second run, using threads, doing yield, and use any online cpu. Make it print out what it's doing to avoid confusion. Signed-off-by: NMichael Ellerman <mpe@ellerman.id.au> Acked-by: NAnton Blanchard <anton@samba.org>
Showing
想要评论请 注册 或 登录