lkml.org 
[lkml]   [2022]   [Nov]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH bpf v2 4/5] bpf: Add kernel function call support in 32-bit ARM for EABI
From
Date
Hello,

On 2022/11/7 20:33, Russell King (Oracle) wrote:
> On Mon, Nov 07, 2022 at 05:20:31PM +0800, Yang Jihong wrote:
>> +bool bpf_jit_supports_kfunc_call(void)
>> +{
>> + return true;
>
> It would be far cleaner to make this:
>
> return IS_ENABLED(CONFIG_AEABI);
>
> So userspace knows that it isn't supported on OABI.
>
Thanks for the suggestion, will change.

Thanks,
Yang
.

\
 
 \ /
  Last update: 2022-11-08 01:53    [W:0.085 / U:0.320 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site