From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeremy Katz Subject: RE: compiler errors in latest unstable from 20051027 Date: Wed, 09 Nov 2005 17:08:36 -0500 Message-ID: <1131574116.3533.75.camel@bree.local.net> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-ZFCoXu/ExUopcm3O7Huc" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Adam Heath Cc: Ian Pratt , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org --=-ZFCoXu/ExUopcm3O7Huc Content-Type: text/plain Content-Transfer-Encoding: 7bit On Wed, 2005-11-09 at 15:59 -0600, Adam Heath wrote: > > Er, no. I verified that smp_alt.h doesn't exist in the latest before sending > > this mail. As for the other problems, that I didn't verify. > > And I just verified that it doesn't work with latest unstable either. It looks like a few places aren't making sure that the smp_alternatives patch is applied... does the attached fix things? Jeremy --=-ZFCoXu/ExUopcm3O7Huc Content-Disposition: attachment; filename=sparse-smp-alt.patch Content-Type: text/x-patch; name=sparse-smp-alt.patch; charset=utf-8 Content-Transfer-Encoding: 7bit diff -r abbe3df33774 linux-2.6-xen-sparse/include/asm-xen/asm-i386/spinlock.h --- a/linux-2.6-xen-sparse/include/asm-xen/asm-i386/spinlock.h Tue Nov 8 17:39:58 2005 +++ b/linux-2.6-xen-sparse/include/asm-xen/asm-i386/spinlock.h Wed Nov 9 17:08:18 2005 @@ -6,7 +6,10 @@ #include #include #include + +#ifdef CONFIG_SMP_ALTERNATIVES #include +#endif asmlinkage int printk(const char * fmt, ...) __attribute__ ((format (printf, 1, 2))); diff -r abbe3df33774 linux-2.6-xen-sparse/include/asm-xen/asm-i386/system.h --- a/linux-2.6-xen-sparse/include/asm-xen/asm-i386/system.h Tue Nov 8 17:39:58 2005 +++ b/linux-2.6-xen-sparse/include/asm-xen/asm-i386/system.h Wed Nov 9 17:08:18 2005 @@ -8,7 +8,10 @@ #include #include #include + +#ifdef CONFIG_SMP_ALTERNATIVES #include +#endif #ifdef __KERNEL__ --=-ZFCoXu/ExUopcm3O7Huc Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=-ZFCoXu/ExUopcm3O7Huc--