[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHA+R7O_352QUc+FDgf4w2r3SuMcjMhCZhPPYQdk32Lez1efeQ@mail.gmail.com>
Date: Wed, 10 Sep 2014 10:48:54 -0700
From: Cong Wang <cwang@...pensource.com>
To: Daniel Borkmann <dborkman@...hat.com>
Cc: David Miller <davem@...emloft.net>,
Fengguang Wu <fengguang.wu@...el.com>,
Alexei Starovoitov <ast@...mgrid.com>,
netdev <netdev@...r.kernel.org>
Subject: Re: [PATCH net-next v2] net: bpf: only build bpf_jit_binary_{alloc,free}()
when jit selected
On Wed, Sep 10, 2014 at 6:01 AM, Daniel Borkmann <dborkman@...hat.com> wrote:
> Since BPF JIT depends on the availability of module_alloc() and
> module_free() helpers (HAVE_BPF_JIT and MODULES), we better build
> that code only in case we have BPF_JIT in our config enabled, just
> like with other JIT code. Fixes builds for arm/marzen_defconfig
> and sh/rsk7269_defconfig.
It is quite useful to include the build failure in changelog:
kernel/built-in.o: In function `bpf_jit_binary_alloc':
/home/cwang/linux/kernel/bpf/core.c:144: undefined reference to `module_alloc'
kernel/built-in.o: In function `bpf_jit_binary_free':
/home/cwang/linux/kernel/bpf/core.c:164: undefined reference to `module_free'
make: *** [vmlinux] Error 1
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists