Commit 94fa56a9 authored by Cyril Bur's avatar Cyril Bur Committed by Michael Ellerman

selftests/powerpc: Fix usage message in context_switch

When we inverted the behaviour of the flags we forgot to update the
usage message.

Fixes: 51c21e72 ("selftests/powerpc: Make context_switch touch FP/altivec/vector by default")
Signed-off-by: default avatarCyril Bur <cyrilbur@gmail.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent d4ecdff2
...@@ -369,11 +369,11 @@ static void usage(void) ...@@ -369,11 +369,11 @@ static void usage(void)
fprintf(stderr, "\t\t--process\tUse processes (default threads)\n"); 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--timeout=X\tDuration in seconds to run (default 30)\n");
fprintf(stderr, "\t\t--vdso\t\ttouch VDSO\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__ #ifdef __powerpc__
fprintf(stderr, "\t\t--altivec\ttouch altivec\n"); fprintf(stderr, "\t\t--no-altivec\tDon't touch altivec\n");
#endif #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[]) int main(int argc, char *argv[])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment