lkml.org 
[lkml]   [2018]   [Apr]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: bpf: handling non BPF register names in inline assembly with -target bpf
    Em Wed, Apr 11, 2018 at 12:22:37PM -0700, Yonghong Song escreveu:
    > Look at test bpf-script-test-kbuild.c, I think you can drop
    > uapi/asm/ptrace.h from include file list. This way, you do not need
    > __BPF__ in x86/include/asm/asm.h. At the same time, you can
    > remove __BPF__ as well.

    That's even better, I'll try that approach, that code was done by
    someone else, so I ended up not considering looking if removing a
    unnecessary header would fix the issue, I'll check and if that works
    I'll revert the patch that introduced that ifndef __BPF__.

    - Arnaldo

    \
     
     \ /
      Last update: 2018-04-11 21:48    [W:2.250 / U:0.348 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site