diff options
author | Markos Chandras <markos.chandras@imgtec.com> | 2015-06-04 10:56:15 (GMT) |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2015-06-21 19:54:24 (GMT) |
commit | beaf70b8b7d025e7293ac013b198fc550ee2d3ec (patch) | |
tree | 110703b6d4db6e849c7ad349c72f4a51ac396c25 /arch/mips | |
parent | 79a8855c4a5e44321f371aa0b992a84e9c1807da (diff) | |
download | linux-beaf70b8b7d025e7293ac013b198fc550ee2d3ec.tar.xz |
MIPS: BPF: Use BPF register names to describe the ABI
Use the BPF register names instead of the arch register names to
document how the ABI is structured.
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Cc: netdev@vger.kernel.org
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Alexei Starovoitov <ast@plumgrid.com>
Cc: Daniel Borkmann <dborkman@redhat.com>
Cc: Hannes Frederic Sowa <hannes@stressinduktion.org>
Cc: linux-kernel@vger.kernel.org
Patchwork: http://patchwork.linux-mips.org/patch/10529/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/net/bpf_jit.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/mips/net/bpf_jit.c b/arch/mips/net/bpf_jit.c index 954df29..f0db4f8 100644 --- a/arch/mips/net/bpf_jit.c +++ b/arch/mips/net/bpf_jit.c @@ -30,10 +30,10 @@ /* ABI * - * s3 BPF register A - * s4 BPF register X - * s5 *skb - * s6 *scratch memory + * r_A BPF register A + * r_X BPF register X + * r_skb *skb + * r_M *scratch memory * * On entry (*bpf_func)(*skb, *filter) * a0 = MIPS_R_A0 = skb; |