diff options
author | Naveen N. Rao <[email protected]> | 2021-10-06 01:55:29 +0530 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2021-10-07 19:52:59 +1100 |
commit | 548b762763b885b81850db676258df47c55dd5f9 (patch) | |
tree | b8c911956ddf3c3a172e4a2c52c74b1937004f6c /arch/powerpc/kernel/traps.c | |
parent | 48164fccdff6d5cc11308126c050bd25a329df25 (diff) |
powerpc/bpf ppc32: Fix BPF_SUB when imm == 0x80000000
Special case handling of the smallest 32-bit negative number for BPF_SUB.
Fixes: 51c66ad849a703 ("powerpc/bpf: Implement extended BPF on PPC32")
Signed-off-by: Naveen N. Rao <[email protected]>
Reviewed-by: Christophe Leroy <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/7135360a0cdf70adedbccf9863128b8daef18764.1633464148.git.naveen.n.rao@linux.vnet.ibm.com
Diffstat (limited to 'arch/powerpc/kernel/traps.c')
0 files changed, 0 insertions, 0 deletions