On Sat, Feb 10, 2018 at 04:08:16PM -0800, Hugh Dickins wrote: > On Fri, 9 Feb 2018, Eric Biggers wrote: > > > This is a build fix for the 4.4 PTI backport. 4.4 kernels do not have > > commit be7635e7287e ("arch, ftrace: for KASAN put hard/soft IRQ entries > > into separate sections") which went into 4.6. Consequently, the > > irqentry sections are only created when CONFIG_FUNCTION_GRAPH_TRACER is > > enabled, not also when CONFIG_KASAN is enabled. Therefore, fix the > > condition for trying to add a user mapping for this section. > > > > This fixes the following build error: > > > > arch/x86/mm/kaiser.c: In function ‘kaiser_init’: > > arch/x86/mm/kaiser.c:367:33: error: ‘__irqentry_text_start’ undeclared (first use in this function) > > kaiser_add_user_map_ptrs_early(__irqentry_text_start, > > [...] > > > > Signed-off-by: Eric Biggers <ebiggers@xxxxxxxxxx> > > Yep, sorry about that, thanks Eric: > Acked-by: Hugh Dickins <hughd@xxxxxxxxxx> Thanks, now queued up. greg k-h