On Fri, May 10, 2019 at 11:47:50PM +0200, Jiri Kosina wrote: > From: Jiri Kosina <[email protected]> > > The only purpose of klp_check_compiler_support() is to make sure that we > are not using ftrace on x86 via mcount (because that's executed only after > prologue has already happened, and that's too late for livepatching > purposes). > > Now that mcount is not supported by ftrace any more, there is no need for > klp_check_compiler_support() either. > > Reported-by: Linus Torvalds <[email protected]> > Signed-off-by: Jiri Kosina <[email protected]> > --- > > I guess it makes most sense to merge this together with mcount removal in > one go.
Acked-by: Josh Poimboeuf <[email protected]> -- Josh

