]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: BPF: Use 32 or 64-bit load instruction to load an address to register
authorMarkos Chandras <markos.chandras@imgtec.com>
Wed, 25 Jun 2014 08:39:38 +0000 (09:39 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 26 Jun 2014 09:48:22 +0000 (10:48 +0100)
commit323aa68126bf41a74edc0dd57fd74f66b03a131e
treecc8b63b121c15347027f7a92dcac61fd6ec01ec5
parentde31003c192b2c328a24b1fea555baae42cf5f1a
MIPS: BPF: Use 32 or 64-bit load instruction to load an address to register

When loading a pointer to register we need to use the appropriate
32 or 64bit instruction to preserve the pointers' top 32bits.

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Daniel Borkmann <dborkman@redhat.com>
Cc: Alexei Starovoitov <ast@plumgrid.com>
Cc: netdev@vger.kernel.org
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/7180/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/net/bpf_jit.c