From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] KVM: PPC: Move of include to __KERNEL__ section Date: Sun, 05 Sep 2010 10:57:21 +0300 Message-ID: <4C834D61.7000503@redhat.com> References: <1283591368-2984-1-git-send-email-agraf@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm-ppc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, kvm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Alexander Graf Return-path: In-Reply-To: <1283591368-2984-1-git-send-email-agraf-l3A5Bk7waGM@public.gmane.org> Sender: kvm-ppc-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: kvm.vger.kernel.org On 09/04/2010 12:09 PM, Alexander Graf wrote: > We have to protect the include for linux/of.h by __KERNEL__ so it doesn't > accidently get referenced outside. > > This patch fixes this and makes the tree compile again. > > Reported-by: Stephen Rothwell > Signed-off-by: Alexander Graf > > --- > > Since this issue breaks linux-next, please apply ASAP. Applied (by re-merging kvm-ppc-next, got dropped somehow), thanks. -- error compiling committee.c: too many arguments to function From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Date: Sun, 05 Sep 2010 07:57:21 +0000 Subject: Re: [PATCH] KVM: PPC: Move of include to __KERNEL__ section Message-Id: <4C834D61.7000503@redhat.com> List-Id: References: <1283591368-2984-1-git-send-email-agraf@suse.de> In-Reply-To: <1283591368-2984-1-git-send-email-agraf-l3A5Bk7waGM@public.gmane.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Alexander Graf Cc: kvm-ppc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, kvm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org On 09/04/2010 12:09 PM, Alexander Graf wrote: > We have to protect the include for linux/of.h by __KERNEL__ so it doesn't > accidently get referenced outside. > > This patch fixes this and makes the tree compile again. > > Reported-by: Stephen Rothwell > Signed-off-by: Alexander Graf > > --- > > Since this issue breaks linux-next, please apply ASAP. Applied (by re-merging kvm-ppc-next, got dropped somehow), thanks. -- error compiling committee.c: too many arguments to function