On Tue, Feb 11, 2025 at 11:50 PM Josh Poimboeuf <jpoimboe@xxxxxxxxxx> wrote: > > On Tue, Feb 11, 2025 at 10:33:57AM +0800, Yafang Shao wrote: > > It will used by bpf to reject attaching fexit prog to functions > > annotated with __noreturn. > > > > Signed-off-by: Yafang Shao <laoar.shao@xxxxxxxxx> > > Cc: Josh Poimboeuf <jpoimboe@xxxxxxxxxx> > > Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx> > > --- > > {tools/objtool => include/linux}/noreturns.h | 0 > > tools/include/linux/noreturns.h | 52 ++++++++++++++++++++ > > Instead of moving the file, please make a copy Are you suggesting we keep tools/objtool/noreturns.h as is and simply copy it to include/linux/noreturns.h? In other words, the two files would be tools/objtool/noreturns.h and include/linux/noreturns.h. > and add it to > tools/objtool/sync-check.sh. Sure. -- Regards Yafang