]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
selftests/powerpc: Fix usage message in context_switch
authorCyril Bur <cyrilbur@gmail.com>
Thu, 3 Mar 2016 23:06:39 +0000 (10:06 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 5 Jul 2016 13:49:49 +0000 (23:49 +1000)
When we inverted the behaviour of the flags we forgot to update the
usage message.

Fixes: 51c21e72eb99 ("selftests/powerpc: Make context_switch touch FP/altivec/vector by default")
Signed-off-by: Cyril Bur <cyrilbur@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
tools/testing/selftests/powerpc/benchmarks/context_switch.c

index 7b785941adec468474160e90f58f1c9427857908..e6af382a305a09a64791682b7af51e9a0b2097b4 100644 (file)
@@ -369,11 +369,11 @@ static void usage(void)
        fprintf(stderr, "\t\t--process\tUse processes (default threads)\n");
        fprintf(stderr, "\t\t--timeout=X\tDuration in seconds to run (default 30)\n");
        fprintf(stderr, "\t\t--vdso\t\ttouch VDSO\n");
-       fprintf(stderr, "\t\t--fp\t\ttouch FP\n");
+       fprintf(stderr, "\t\t--no-fp\t\tDon't touch FP\n");
 #ifdef __powerpc__
-       fprintf(stderr, "\t\t--altivec\ttouch altivec\n");
+       fprintf(stderr, "\t\t--no-altivec\tDon't touch altivec\n");
 #endif
-       fprintf(stderr, "\t\t--vector\ttouch vector\n");
+       fprintf(stderr, "\t\t--no-vector\tDon't touch vector\n");
 }
 
 int main(int argc, char *argv[])