Skip to content

Commit

Permalink
selftests/powerpc: Fix usage message in context_switch
Browse files Browse the repository at this point in the history
When we inverted the behaviour of the flags we forgot to update the
usage message.

Fixes: 51c21e7 ("selftests/powerpc: Make context_switch touch FP/altivec/vector by default")
Signed-off-by: Cyril Bur <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
  • Loading branch information
cyrilbur-ibm authored and mpe committed Jul 5, 2016
1 parent d4ecdff commit 94fa56a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/testing/selftests/powerpc/benchmarks/context_switch.c
Original file line number Diff line number Diff line change
@@ -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[])

0 comments on commit 94fa56a

Please sign in to comment.