]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbc8ebd490484ff55689fe6bf94d48f338a526dfd
tree5bd6d96475e0cb09882435051e37da7cd0a12b03
parent8322b52cb81a82280f83e78b014c0bcf39fb5280
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