]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/bpf: Introduce __PPC_SH64()
authorNaveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Wed, 8 Feb 2017 08:57:29 +0000 (14:27 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 10 Feb 2017 02:28:03 +0000 (13:28 +1100)
commit9ba31b9b4d7f039243eda73f9186bd03c32d6c7f
tree60ab99c5c0d6e7c4b3403d58bd7af6c5e5d0d871
parentfc02724b758292781234cbab6a0c9d0cb031f087
powerpc/bpf: Introduce __PPC_SH64()

Introduce __PPC_SH64() as a 64-bit variant to encode shift field in some
of the shift and rotate instructions operating on double-words. Convert
some of the BPF instruction macros to use the same.

Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/ppc-opcode.h
arch/powerpc/net/bpf_jit.h