diff options
| author | Markos Chandras <[email protected]> | 2014-06-23 10:38:51 +0100 |
|---|---|---|
| committer | Ralf Baechle <[email protected]> | 2014-06-26 10:48:21 +0100 |
| commit | 1ab24a4e3de1ec37d8ed255841d2d94d77e8a4f4 (patch) | |
| tree | b8354bcd27d9f6056a61b1b311a16ec67b8e03f8 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h | |
| parent | 9eebfe478d1b83389c3ac1bd73a45b6665e356db (diff) | |
MIPS: bpf: Fix branch conditional for BPF_J{GT/GE} cases
The sltiu and sltu instructions will set the scratch register
to 1 if A <= X|K so fix the emitted branch conditional to check
for scratch != zero rather than scratch >= zero which would complicate
the resuling branch logic given that MIPS does not have a BGT or BGET
instructions to compare general purpose registers directly.
Signed-off-by: Markos Chandras <[email protected]>
Cc: David S. Miller <[email protected]>
Cc: Daniel Borkmann <[email protected]>
Cc: Alexei Starovoitov <[email protected]>
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/7126/
Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions