diff options
author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2022-05-09 08:36:18 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-05-22 08:58:26 +0300 |
commit | 8dfdbe4368c09d9eeae2df8968ee6c345ec8c1b5 (patch) | |
tree | 248f69f76acc9a4aa43615b90d7e0a7770e993fb /scripts/gdb/linux/utils.py | |
parent | af8b9f352ffd435734ab8f94f99ccb922da916b4 (diff) | |
download | linux-8dfdbe4368c09d9eeae2df8968ee6c345ec8c1b5.tar.xz |
powerpc/inst: Add __copy_inst_from_kernel_nofault()
On the same model as get_user() versus __get_user(),
introduce __copy_inst_from_kernel_nofault() which doesn't
check address.
To be used by callers that have already checked that the adress
is a kernel address.
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/1f3702890d6dbd64702b61834753bcc96851c18c.1652074503.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions