[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ac4577d4-c0f2-9596-df6f-3fcc563bde3e@163.com>
Date: Wed, 13 Nov 2019 15:16:37 +0800
From: Xiao Yang <ice_yangxiao@....com>
To: Masahiro Yamada <yamada.masahiro@...ionext.com>
Cc: Daniel Borkmann <daniel@...earbox.net>,
Will Deacon <will@...nel.org>,
linux-arch <linux-arch@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Alexei Starovoitov <ast@...nel.org>
Subject: Re: Question about "asm/rwonce.h: No such file or directory"
On 11/13/19 2:57 PM, Masahiro Yamada wrote:
> Sorry, I really do not understand what you are doing.
>
> include/linux/compiler.h is only for kernel-space.
> Shrug if a user-land program includes it.
Hi Masahiro,
For building tools/bpf, it is good to fix the compiler error by Daniel's
patch(i.e. use linux/filter from linux header).
linux/compiler.h may be used by other code in kernel. Is it possible to
trigger the same error when the other code
including linux/compiler.h is built? Is this kind of code able to find
the location of <asm/rwonce.h>?
Best Regards,
Xiao Yang
Powered by blists - more mailing lists