MIPS: BPF: Add new emit_long_instr macro
authorMarkos Chandras <markos.chandras@imgtec.com>
Wed, 23 Jul 2014 09:00:09 +0000 (10:00 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 22 Sep 2014 11:35:51 +0000 (13:35 +0200)
commit39bcb7969a84aab3dcdb857b261a87d5d888f5a7
treea8b6a4f1e4fd765cc9c904c5b3baf53f50d8b65a
parent011eeece0bb2e1b65b2d2fd618067425e8ccdbb4
MIPS: BPF: Add new emit_long_instr macro

This macro uses the capitalized UASM_* macros to emit 32 or 64-bit
instructions depending on the kernel configurations. This allows
us to remove a few CONFIG_64BIT ifdefs from the code.

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/7446/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/net/bpf_jit.c