Re: [patch] uml: fix cmpxchg warnings in -mm

2007-04-27 Thread Jeff Dike
On Fri, Apr 27, 2007 at 07:27:48PM +0200, Sam Ravnborg wrote: > Then atomic.h should include system.h and not rely on someone else doing it. > Yes - then system.h may be included twice but that's ok. I tried that - Andi didn't like it. My current thinking is to pull the cmpxchg stuff out of syste

Re: [patch] uml: fix cmpxchg warnings in -mm

2007-04-27 Thread Sam Ravnborg
On Fri, Apr 27, 2007 at 06:18:02PM +0200, Miklos Szeredi wrote: > > From: Miklos Szeredi <[EMAIL PROTECTED]> > > I get lot's of these on i386: > > In file included from include/asm/atomic.h:10, > from include/linux/file.h:9, > from mm/fadvise.c:12: > include/asm

[patch] uml: fix cmpxchg warnings in -mm

2007-04-27 Thread Miklos Szeredi
From: Miklos Szeredi <[EMAIL PROTECTED]> I get lot's of these on i386: In file included from include/asm/atomic.h:10, from include/linux/file.h:9, from mm/fadvise.c:12: include/asm/arch/atomic.h: In function ‘atomic_add_unless’: include/asm/arch/atomic.h:240: wa