OSDN Git Service

bpf powerpc: Remove unused SEEN_STACK
authorRavi Bangoria <ravi.bangoria@linux.ibm.com>
Tue, 12 Oct 2021 12:30:49 +0000 (18:00 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 25 Nov 2021 00:25:31 +0000 (11:25 +1100)
SEEN_STACK is unused on PowerPC. Remove it. Also, have
SEEN_TAILCALL use 0x40000000.

Signed-off-by: Ravi Bangoria <ravi.bangoria@linux.ibm.com>
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20211012123056.485795-2-hbathini@linux.ibm.com
arch/powerpc/net/bpf_jit.h

index 7e9b978..89bd744 100644 (file)
 #define COND_LE                (CR0_GT | COND_CMP_FALSE)
 
 #define SEEN_FUNC      0x20000000 /* might call external helpers */
-#define SEEN_STACK     0x40000000 /* uses BPF stack */
-#define SEEN_TAILCALL  0x80000000 /* uses tail calls */
+#define SEEN_TAILCALL  0x40000000 /* uses tail calls */
 
 #define SEEN_VREG_MASK 0x1ff80000 /* Volatile registers r3-r12 */
 #define SEEN_NVREG_MASK        0x0003ffff /* Non volatile registers r14-r31 */