Re: 2.6-git: BITS_PER_LONG
From: Russell King
Date: Mon Jan 09 2006 - 13:30:51 EST
On Mon, Jan 09, 2006 at 09:57:29AM -0800, Christoph Lameter wrote:
> On Sat, 7 Jan 2006, Russell King wrote:
> > With the latest git, I'm seeing a number of:
> >
> > include/asm-generic/atomic.h:20:5: warning: "BITS_PER_LONG" is not defined
> >
> > What's intended here? Should asm-generic/atomic.h include asm/types.h?
>
> asm/types.h should be included by asm/atomic.h.
Disagree - nothing in asm/atomic.h needs asm/types.h. If
asm-generic/atomic.h has this requirement, it should be the one
including asm/types.h (or should it be linux/types.h ?)
> Which arch is this?
ARM.
--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 Serial core
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/