diff options
author | Benjamin Gray <bgray@linux.ibm.com> | 2023-02-03 11:39:46 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2023-02-09 23:56:45 +1100 |
commit | 5c20de57888f0962e25a0eeec1a59c98056fc42e (patch) | |
tree | 94d8ed4b5dedaeb221761e8693ff1399f2fd7af7 /security/min_addr.c | |
parent | d1bc05b7bf02f8635fe6c445f67d78f85234cbb7 (diff) |
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
Diffstat (limited to 'security/min_addr.c')
0 files changed, 0 insertions, 0 deletions