]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
Fix up backport of powerpc-bpf-fix-bpf_mod-when-imm-1.patch
authorSasha Levin <sashal@kernel.org>
Mon, 11 Oct 2021 18:38:23 +0000 (14:38 -0400)
committerSasha Levin <sashal@kernel.org>
Mon, 11 Oct 2021 18:38:23 +0000 (14:38 -0400)
Signed-off-by: Sasha Levin <sashal@kernel.org>
queue-4.14/powerpc-bpf-fix-bpf_mod-when-imm-1.patch
queue-4.19/powerpc-bpf-fix-bpf_mod-when-imm-1.patch
queue-4.9/powerpc-bpf-fix-bpf_mod-when-imm-1.patch
queue-5.10/powerpc-bpf-fix-bpf_mod-when-imm-1.patch
queue-5.4/powerpc-bpf-fix-bpf_mod-when-imm-1.patch

index deb434e531ffe1edd4a9ec8bf2555b6b1b764b08..420ca4b3cce054e3ea3ab819b4fc17c8a2fe7781 100644 (file)
@@ -36,7 +36,7 @@ index 28434040cfb6..75d495491364 100644
 +                              if (BPF_OP(code) == BPF_DIV) {
 +                                      goto bpf_alu32_trunc;
 +                              } else {
-+                                      EMIT(PPC_RAW_LI(dst_reg, 0));
++                                      EMIT(PPC_LI(dst_reg, 0));
 +                                      break;
 +                              }
 +                      }
index 4db3b61060aeb4a937c2cabbb20c45756809c73a..f65bbe45581909078d2c33254b787b2743de1296 100644 (file)
@@ -36,7 +36,7 @@ index e7d56ddba43a..ff201b1fe768 100644
 +                              if (BPF_OP(code) == BPF_DIV) {
 +                                      goto bpf_alu32_trunc;
 +                              } else {
-+                                      EMIT(PPC_RAW_LI(dst_reg, 0));
++                                      EMIT(PPC_LI(dst_reg, 0));
 +                                      break;
 +                              }
 +                      }
index d0e865588086b98dc6fa4893c33ba680e2f002c1..ab9ca2ced295f60604601e390d74f44b715cd01a 100644 (file)
@@ -36,7 +36,7 @@ index 888ee95340da..2152ffe4e5ea 100644
 +                              if (BPF_OP(code) == BPF_DIV) {
 +                                      goto bpf_alu32_trunc;
 +                              } else {
-+                                      EMIT(PPC_RAW_LI(dst_reg, 0));
++                                      EMIT(PPC_LI(dst_reg, 0));
 +                                      break;
 +                              }
 +                      }
index cbf92d8969a241c6ef1264c05df6cf9ad8408e01..c032c7be9e102097e3f88a7d13b6cde81d3d6359 100644 (file)
@@ -36,7 +36,7 @@ index 658ca2bab13c..e79f9eae2bc0 100644
 +                              if (BPF_OP(code) == BPF_DIV) {
 +                                      goto bpf_alu32_trunc;
 +                              } else {
-+                                      EMIT(PPC_RAW_LI(dst_reg, 0));
++                                      EMIT(PPC_LI(dst_reg, 0));
 +                                      break;
 +                              }
 +                      }
index 251eb79025597d8be9dcbf0b810f6f807f290781..5da733b31933e1a9fb9042f01d19e050c1543f52 100644 (file)
@@ -36,7 +36,7 @@ index 20bfd753bcba..a05386318f70 100644
 +                              if (BPF_OP(code) == BPF_DIV) {
 +                                      goto bpf_alu32_trunc;
 +                              } else {
-+                                      EMIT(PPC_RAW_LI(dst_reg, 0));
++                                      EMIT(PPC_LI(dst_reg, 0));
 +                                      break;
 +                              }
 +                      }