[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4ABF4999.9080206@upmc.fr>
Date: Sun, 27 Sep 2009 13:16:41 +0200
From: Bernard Pidoux <bernard.pidoux@...c.fr>
To: linux-kernel@...r.kernel.org
Subject: Re: 2.6.31.1 BUG #include <asm/bitsperlong.h>
The problem is that when I compile an application that never
caused any problem before I get an error due to incorrect reference to <asm/bitsperlong>
This was due to int-ll64.h including <asm/bitsperlong.h> which does not exists.
Is the correct solution to replace symbolic link ?
/usr/src/linux/include/asm->asm-x86
by
/usr/src/linux/include/asm->asm-generic
Bernard Pidoux
On Sun, Sep 27, 2009 at 11:56:47AM +0200, Bernard Pidoux wrote:
> In kernel 2.6.31.1 the following files in
>
> /usr/src/linux-2.6.31.1/include/asm-generic/
>
> include <asm/bitsperlong.h>
>
> while they should #include <asm-generic/bitsperlong.h>
It would be wrong to include the generic version
directly.
We need access to the arch specifics definitions
before we include the generic version.
See how different architectures does various things
in their: arch/$(ARCH)/include/asm/bitsperlong.h
Sam
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists