]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: net: bpf: imm12 constant conversion
authorRussell King <rmk+kernel@armlinux.org.uk>
Wed, 11 Jul 2018 09:32:07 +0000 (10:32 +0100)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 12 Jul 2018 18:45:23 +0000 (20:45 +0200)
commitc79ab288636d674a31af5df50a23521e2538e09c
tree8f73587282ce98ea4b046948eb6c4ea884a54f4c
parentad76ea0c74c87d84d534f5c7a4125e91238682b6
ARM: net: bpf: imm12 constant conversion

Provide a version of the imm8m() function that the compiler can optimise
when used with a constant expression.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
arch/arm/net/bpf_jit_32.c