Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754972AbcDNNMq (ORCPT ); Thu, 14 Apr 2016 09:12:46 -0400 Received: from ozlabs.org ([103.22.144.67]:51044 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753668AbcDNNMp (ORCPT ); Thu, 14 Apr 2016 09:12:45 -0400 Message-ID: <1460639562.21066.7.camel@ellerman.id.au> Subject: Re: [PATCH 3/5] powerpc/livepatch: Add livepatch header From: Michael Ellerman To: Miroslav Benes Cc: linuxppc-dev@ozlabs.org, bsingharora@gmail.com, duwe@lst.de, linux-kernel@vger.kernel.org, rostedt@goodmis.org, kamalesh@linux.vnet.ibm.com, pmladek@suse.com, jeyu@redhat.com, jikos@kernel.org, live-patching@vger.kernel.org Date: Thu, 14 Apr 2016 23:12:42 +1000 In-Reply-To: References: <1460552003-15409-1-git-send-email-mpe@ellerman.id.au> <1460552003-15409-4-git-send-email-mpe@ellerman.id.au> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.16.5-1ubuntu3.1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 933 Lines: 27 On Thu, 2016-04-14 at 14:23 +0200, Miroslav Benes wrote: > On Thu, 14 Apr 2016, Miroslav Benes wrote: > > On Wed, 13 Apr 2016, Michael Ellerman wrote: > > > diff --git a/arch/powerpc/include/asm/livepatch.h b/arch/powerpc/include/asm/livepatch.h > > > new file mode 100644 > > > index 000000000000..ad36e8e34fa1 > > > --- /dev/null > > > +++ b/arch/powerpc/include/asm/livepatch.h > > > @@ -0,0 +1,54 @@ ... > > > +#ifndef _ASM_POWERPC_LIVEPATCH_H > > > +#define _ASM_POWERPC_LIVEPATCH_H > > > + > > > +#include > > > +#include > > > + > > > +#ifdef CONFIG_LIVEPATCH > > > > We don't use these guards in our header files since 335e073faacc ("klp: > > remove CONFIG_LIVEPATCH dependency from klp headers"). > > ...but you're gonna need it in the next patch... Yeah I know I said at one point those #ifdefs were unneeded, but then it turns out we did want it on powerpc for other reasons. cheers