summaryrefslogtreecommitdiffstats
path: root/arch/arm64/net
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2014-10-11 10:00:43 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2014-10-20 17:47:04 +0100
commit74c3deacb2a903bcb9d5a20dc885159142245010 (patch)
tree294fc976eab5d1b8785fe3d8df4e907f9f3edc0e /arch/arm64/net
parent30d3d94cc3d507a23dcb09e5c365464e4aa9f580 (diff)
downloadlinux-74c3deacb2a903bcb9d5a20dc885159142245010.tar.bz2
net: bpf: arm64: minor fix of type in jited
Commit 286aad3c4014 ("net: bpf: be friendly to kmemcheck") changed the type of jited from a bitfield into a bool. As this commmit wasn't available at the time when arm64 eBPF JIT was merged, fix it up now as net is merged into mainline. Signed-off-by: Daniel Borkmann <dborkman@redhat.com> Cc: Zi Shen Lim <zlim.lnx@gmail.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/net')
-rw-r--r--arch/arm64/net/bpf_jit_comp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/net/bpf_jit_comp.c b/arch/arm64/net/bpf_jit_comp.c
index 618d2cdc2f1b..41f1e3e2ea24 100644
--- a/arch/arm64/net/bpf_jit_comp.c
+++ b/arch/arm64/net/bpf_jit_comp.c
@@ -722,7 +722,7 @@ void bpf_int_jit_compile(struct bpf_prog *prog)
set_memory_ro((unsigned long)header, header->pages);
prog->bpf_func = (void *)ctx.image;
- prog->jited = 1;
+ prog->jited = true;
out:
kfree(ctx.offset);
}