Bug#378303: linux-kernel-headers: bitmap.h: 'BITS_PER_LONG' undeclared
On Sat, Jul 15, 2006 at 08:42:56AM +0200, Julien Danjou wrote:
> > In file included from /usr/include/linux/cpumask.h:86,
> > from /usr/include/asm-i486/processor.h:23,
> > from /usr/include/asm/processor.h:8,
> > from /usr/include/asm-i486/atomic.h:6,
> > from /usr/include/asm/atomic.h:8,
> > from swapon02.c:87:
Anything that includes atomic.h from user space is fundamentally broken.
The definitions in atomic.h are _NOT_ atomic on many architectures when
used in user space (if they compile at all). Fix ltp.
Gabor
--
---------------------------------------------------------
MTA SZTAKI Computer and Automation Research Institute
Hungarian Academy of Sciences
---------------------------------------------------------
Reply to: