]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Use a function for byte swapping instructions
authorJordan Niethe <jniethe5@gmail.com>
Wed, 6 May 2020 03:40:29 +0000 (13:40 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 18 May 2020 14:10:37 +0000 (00:10 +1000)
commitb07b6c2a357c110a1af1077ca4c4f1d36745a052
tree16af29fb1e8ce389f1fb220c3ff6845a15f65122
parenta21bc464f6df172879efa95a45fdab678e6d0704
powerpc: Use a function for byte swapping instructions

Use a function for byte swapping instructions in preparation of a more
complicated instruction type.

Signed-off-by: Jordan Niethe <jniethe5@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Reviewed-by: Balamuruhan S <bala24@linux.ibm.com>
Link: https://lore.kernel.org/r/20200506034050.24806-10-jniethe5@gmail.com
arch/powerpc/include/asm/inst.h
arch/powerpc/kernel/align.c