diff options
author | Jordan Niethe <jniethe5@gmail.com> | 2020-05-06 06:40:34 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-05-18 17:10:37 +0300 |
commit | 95b980a00d1220ca67550a933166704db8bc5c14 (patch) | |
tree | 2e049da522701c72aa1432aae51331f77969100c /drivers/power | |
parent | 7ba68b2172c19031fdc2a2caf37328edd146e299 (diff) | |
download | linux-95b980a00d1220ca67550a933166704db8bc5c14.tar.xz |
powerpc: Add a probe_kernel_read_inst() function
Introduce a probe_kernel_read_inst() function to use in cases where
probe_kernel_read() is used for getting an instruction. This will be
more useful for prefixed instructions.
Signed-off-by: Jordan Niethe <jniethe5@gmail.com>
Reviewed-by: Alistair Popple <alistair@popple.id.au>
[mpe: Don't write to *inst on error]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200506034050.24806-15-jniethe5@gmail.com
Diffstat (limited to 'drivers/power')
0 files changed, 0 insertions, 0 deletions