mirror-linux/tools/testing/selftests/powerpc/dscr
Benjamin Gray 5c20de5788 selftests/powerpc: Add {read,write}_{long,ulong}
Add helper functions to read and write (unsigned) long values directly
from/to files. One of the kernel interfaces uses hex strings, so we need
to allow passing a base too.

Signed-off-by: Benjamin Gray <bgray@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20230203003947.38033-5-bgray@linux.ibm.com
2023-02-09 23:56:45 +11:00
..
.gitignore
Makefile
dscr.h selftests/powerpc: Add {read,write}_{long,ulong} 2023-02-09 23:56:45 +11:00
dscr_default_test.c
dscr_explicit_test.c
dscr_inherit_exec_test.c
dscr_inherit_test.c
dscr_sysfs_test.c selftests/powerpc: Add {read,write}_{long,ulong} 2023-02-09 23:56:45 +11:00
dscr_sysfs_thread_test.c
dscr_user_test.c
settings