[PATCH v6 8/9] Implement kernel live patching for ppc64le (ABIv2)

Torsten Duwe duwe at lst.de
Thu Feb 11 05:03:21 AEDT 2016


On Tue, Feb 02, 2016 at 04:46:27PM +0300, Denis Kirjanov wrote:
> > +
> > +#ifdef CONFIG_LIVEPATCH
> > +static inline int klp_check_compiler_support(void)
> > +{
> > +#if !defined(_CALL_ELF) || _CALL_ELF != 2 ||
> > !defined(CC_USING_MPROFILE_KERNEL)
> > +	return 1;
> > +#endif
> > +	return 0;
> > +}
> This function can be boolean.

Yes, like on the other archs, too.

	Torsten



More information about the Linuxppc-dev mailing list