]> 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)
commiteb7efbd2bc72e36fafe569ec4e9ec67a3f85995a
tree16af29fb1e8ce389f1fb220c3ff6845a15f65122
parent34f43d60e31b2aa8920dad98d77881528147817d
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