> On Feb 27, 2018, at 8:42 AM, David Miller <da...@davemloft.net> wrote:
> 
> From: Song Liu <songliubrav...@fb.com>
> Date: Mon, 26 Feb 2018 09:49:22 -0800
> 
>> diff --git a/kernel/bpf/stackmap.c b/kernel/bpf/stackmap.c
>> index b0ecf43..e6a48ca 100644
>> --- a/kernel/bpf/stackmap.c
>> +++ b/kernel/bpf/stackmap.c
>> @@ -9,16 +9,18 @@
>> #include <linux/filter.h>
>> #include <linux/stacktrace.h>
>> #include <linux/perf_event.h>
>> +#include <uapi/linux/elf.h>
>> #include "percpu_freelist.h"
> 
> Hmmm, why do you explicitly need to include a uapi path?  linux/elf.h
> should resolve naturally without such an explicit uapi path.

Yeah, that's right. I will fix this in v2. 

Thanks,
Song

Reply via email to