diff options
author | Paul Mackerras <paulus@ozlabs.org> | 2018-08-03 20:13:04 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-08-08 00:32:35 +1000 |
commit | 98c45f51f767bfdd71d773cceaceb403352e51ae (patch) | |
tree | b9ce68ebda36604610d02d727f60088f9845770b /lib/genalloc.c | |
parent | powerpc/64: Make exception table clearer in __copy_tofrom_user_base (diff) | |
download | linux-dev-98c45f51f767bfdd71d773cceaceb403352e51ae.tar.xz linux-dev-98c45f51f767bfdd71d773cceaceb403352e51ae.zip |
selftests/powerpc/64: Test all paths through copy routines
The hand-coded assembler 64-bit copy routines include feature sections
that select one code path or another depending on which CPU we are
executing on. The self-tests for these copy routines end up testing
just one path. This adds a mechanism for selecting any desired code
path at compile time, and makes 2 or 3 versions of each test, each
using a different code path, so as to cover all the possible paths.
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
[mpe: Add -mcpu=power4 to CFLAGS for older compilers]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'lib/genalloc.c')
0 files changed, 0 insertions, 0 deletions