Re: [PATCH v6 8/9] Implement kernel live patching for ppc64le (ABIv2)
From: Torsten Duwe
Date: Wed Feb 10 2016 - 13:03:30 EST
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