diff options
author | 2014-07-03 07:56:54 -0700 | |
---|---|---|
committer | 2014-07-08 14:20:00 -0700 | |
commit | 9f12fbe603f7ae346b2b46008e325f0c9a68e55d (patch) | |
tree | 440fb57e08880b9a7fe5f9180dd7da9dae50a19c /tools/perf/scripts/python | |
parent | declance: Fix 64-bit compilation warnings (diff) | |
download | linux-dev-9f12fbe603f7ae346b2b46008e325f0c9a68e55d.tar.xz linux-dev-9f12fbe603f7ae346b2b46008e325f0c9a68e55d.zip |
net: filter: move load_pointer() into filter.h
load_pointer() is already a static inline function.
Let's move it into filter.h so BPF JIT implementations can reuse this
function.
Since we're exporting this function, let's also rename it to
bpf_load_pointer() for clarity.
Signed-off-by: Zi Shen Lim <zlim.lnx@gmail.com>
Reviewed-by: Daniel Borkmann <dborkman@redhat.com>
Acked-by: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions