[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160210180321.GC19199@lst.de>
Date: Wed, 10 Feb 2016 19:03:21 +0100
From: Torsten Duwe <duwe@....de>
To: Denis Kirjanov <kda@...ux-powerpc.org>
Cc: Steven Rostedt <rostedt@...dmis.org>,
Michael Ellerman <mpe@...erman.id.au>,
Jiri Kosina <jkosina@...e.cz>, linuxppc-dev@...ts.ozlabs.org,
linux-kernel@...r.kernel.org, live-patching@...r.kernel.org
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
Powered by blists - more mailing lists