selftests/powerpc: Refactor the AUXV routines
authorMichael Ellerman <mpe@ellerman.id.au>
Mon, 6 Feb 2017 10:13:27 +0000 (21:13 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 20 Mar 2017 08:02:49 +0000 (19:02 +1100)
commite3028437cb45c04a9caae4d6372bfe08e70293cd
tree5bd6d96475e0cb09882435051e37da7cd0a12b03
parentcabed14891c52618688533bd413b206bf2ebf5c5
selftests/powerpc: Refactor the AUXV routines

Refactor the AUXV routines so they are more composable. In a future test
we want to look for many AUXV entries and we don't want to have to read
/proc/self/auxv each time.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
tools/testing/selftests/powerpc/include/utils.h
tools/testing/selftests/powerpc/utils.c