From: Xiao Yang Subject: Re: Question about "asm/rwonce.h: No such file or directory" Date: Wed, 13 Nov 2019 15:16:37 +0800 Message-ID: References: <1da2db04-da6a-cedb-e85a-6ded68dada82@163.com> <20191112123125.GD17835@willie-the-truck> <32a3b660-f4d2-268e-2206-d50073298c0c@iogearbox.net> <021e7b46-047e-d381-9dca-bd61db08e4f8@163.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: In-Reply-To: Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org To: Masahiro Yamada Cc: Daniel Borkmann , Will Deacon , linux-arch , Linux Kernel Mailing List , Alexei Starovoitov List-Id: linux-arch.vger.kernel.org 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 ? Best Regards, Xiao Yang