From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.lixom.net (lixom.net [66.141.50.11]) by ozlabs.org (Postfix) with ESMTP id 6BB63DE045 for ; Sat, 28 Apr 2007 07:53:11 +1000 (EST) Date: Fri, 27 Apr 2007 16:53:38 -0500 To: Johannes Berg Subject: Re: [PATCH] powerpc: fix suspend states again Message-ID: <20070427215338.GB17224@lixom.net> References: <17969.56735.644629.328360@cargo.ozlabs.ibm.com> <1177710095.3565.64.camel@johannes.berg> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1177710095.3565.64.camel@johannes.berg> From: olof@lixom.net (Olof Johansson) Cc: linuxppc-dev@ozlabs.org, Paul Mackerras List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi, On Fri, Apr 27, 2007 at 11:41:35PM +0200, Johannes Berg wrote: > --- /dev/null 1970-01-01 00:00:00.000000000 +0000 > +++ linux-2.6/arch/powerpc/kernel/swsusp.c 2007-04-27 23:25:20.406021121 +0200 > @@ -0,0 +1,42 @@ > +/* > + * Common powerpc suspend code for 32 and 64 bits > + * > + * Copyright 2007 Johannes Berg > + * > + * GPLv2 > + */ A regular GPL copyright blurb isn't that hard to paste in. :-) > +#include > +#include > +#include > +#include > +#include > +#include > + > +#ifdef CONFIG_SPE > +extern void enable_kernel_spe(void); > +#endif This should be added to asm-powerpc/system.h instead, and that should be included here since that has the enable_kernel_altivec() and enable_kernel_fp() definitions. -Olof