Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

unwind_user/x86: Fix arch=um build

Add CONFIG_HAVE_UNWIND_USER_FP guards to make sure this code
doesn't break arch=um builds.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Closes: https://lore.kernel.org/oe-kbuild-all/202510291919.FFGyU7nq-lkp@intel.com/

authored by

Peter Zijlstra and committed by
Ingo Molnar
aa7387e7 c69993ec

+4
+4
arch/x86/include/asm/unwind_user.h
··· 2 2 #ifndef _ASM_X86_UNWIND_USER_H 3 3 #define _ASM_X86_UNWIND_USER_H 4 4 5 + #ifdef CONFIG_HAVE_UNWIND_USER_FP 6 + 5 7 #include <asm/ptrace.h> 6 8 #include <asm/uprobes.h> 7 9 ··· 35 33 { 36 34 return is_uprobe_at_func_entry(regs); 37 35 } 36 + 37 + #endif /* CONFIG_HAVE_UNWIND_USER_FP */ 38 38 39 39 #endif /* _ASM_X86_UNWIND_USER_H */