Looks like mm/mempolicy.c requires BITS_PER_BYTE, which is not defined
in 2.6.15.5. Patch below fixes the issue. 2.6.16rc5 seems to have the
#define
Signed-off-by: Anush Elangovan ([email protected])
diff -rup linux-2.6.15.5/include/linux/types.h
linux-2.6.15.5_fix/include/linux/types.h
--- linux-2.6.15.5/include/linux/types.h 2006-03-01
14:37:27.000000000 -0800
+++ linux-2.6.15.5_fix/include/linux/types.h 2006-03-01
23:39:43.000000000 -0800
@@ -8,6 +8,8 @@
(((bits)+BITS_PER_LONG-1)/BITS_PER_LONG)
#define DECLARE_BITMAP(name,bits) \
unsigned long name[BITS_TO_LONGS(bits)]
+
+#define BITS_PER_BYTE 8
#endif
#include <linux/posix_types.h>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]