diff options
Diffstat (limited to 'samples/bpf/bpf_helpers.h')
-rw-r--r-- | samples/bpf/bpf_helpers.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/bpf/bpf_helpers.h b/samples/bpf/bpf_helpers.h index a246c6122629..8370a6e3839d 100644 --- a/samples/bpf/bpf_helpers.h +++ b/samples/bpf/bpf_helpers.h | |||
@@ -117,7 +117,7 @@ static int (*bpf_skb_change_head)(void *, int len, int flags) = | |||
117 | #define PT_REGS_FP(x) ((x)->gprs[11]) /* Works only with CONFIG_FRAME_POINTER */ | 117 | #define PT_REGS_FP(x) ((x)->gprs[11]) /* Works only with CONFIG_FRAME_POINTER */ |
118 | #define PT_REGS_RC(x) ((x)->gprs[2]) | 118 | #define PT_REGS_RC(x) ((x)->gprs[2]) |
119 | #define PT_REGS_SP(x) ((x)->gprs[15]) | 119 | #define PT_REGS_SP(x) ((x)->gprs[15]) |
120 | #define PT_REGS_IP(x) ((x)->ip) | 120 | #define PT_REGS_IP(x) ((x)->psw.addr) |
121 | 121 | ||
122 | #elif defined(__aarch64__) | 122 | #elif defined(__aarch64__) |
123 | 123 | ||