Re: 2.6.31.1 BUG #include <asm/bitsperlong.h>

From: Bernard Pidoux
Date: Sun Sep 27 2009 - 13:36:16 EST


Here is the difference that made my system crazy :

--- /usr/src/linux-2.6.30.6/include/asm-generic/int-ll64.h 2009-06-10 05:05:27.000000000 +0200
+++ /usr/src/linux-2.6.31/include/asm-generic/int-ll64.h 2009-09-27 11:27:02.577804468 +0200
@@ -8,6 +8,8 @@
#ifndef _ASM_GENERIC_INT_LL64_H
#define _ASM_GENERIC_INT_LL64_H

+#include <asm/bitsperlong.h>
+
#ifndef __ASSEMBLY__
/*
* __xx is ok: it doesn't pollute the POSIX namespace. Use these in the

So, where are supposed to be the export routines that did not work ?

Bernard


The correct fix is to include the missing bitsperlong in
the asm-x86 directory.
In other words your kernel headers are broken.

Looking at latest kernel we do export bitsperlong.h.
So see if you can find a fix for your broken kernel headers.

Sam


--
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/