Messages in this thread | | | Date | Wed, 10 Feb 2016 19:03:21 +0100 | From | Torsten Duwe <> | Subject | Re: [PATCH v6 8/9] Implement kernel live patching for ppc64le (ABIv2) |
| |
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
| |