Jordan Niethe 95b980a00d 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
2020-05-19 00:10:37 +10:00
..
2019-11-18 22:27:51 +11:00
2020-03-25 12:09:39 +11:00
2019-11-19 19:38:38 +11:00
2018-06-07 10:23:33 -07:00
2020-04-05 11:12:59 -07:00
2019-07-13 16:08:36 -07:00
2019-09-05 14:22:41 +10:00
2019-07-13 16:08:36 -07:00
2019-07-13 16:08:36 -07:00
2019-07-13 16:08:36 -07:00
2019-07-13 16:08:36 -07:00
2018-05-25 12:04:43 +10:00
2019-11-30 14:35:43 -08:00
2018-07-30 22:48:21 +10:00
2019-05-01 16:45:05 +10:00