arm64: bpf: add 'store immediate' instruction
authorYang Shi <yang.shi@linaro.org>
Mon, 30 Nov 2015 22:24:07 +0000 (14:24 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Dec 2015 16:38:31 +0000 (11:38 -0500)
commitdf849ba3a88cdf4480decd7008f95ff627387c0f
tree44808eda4e18942ec50fa20340fed46fd075e8d5
parent6bd4f355df2eae80b8a5c7b097371cd1e05f20d5
arm64: bpf: add 'store immediate' instruction

aarch64 doesn't have native store immediate instruction, such operation
has to be implemented by the below instruction sequence:

Load immediate to register
Store register

Signed-off-by: Yang Shi <yang.shi@linaro.org>
CC: Zi Shen Lim <zlim.lnx@gmail.com>
CC: Xi Wang <xi.wang@gmail.com>
Reviewed-by: Zi Shen Lim <zlim.lnx@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/arm64/net/bpf_jit_comp.c