Hi all, After merging the final tree, today's linux-next build (powerpc allyesconfig) failed like this: drivers/char/tpm/tpm_tis.c:96: warning: 'is_itpm' defined but not used drivers/block/drbd/drbd_bitmap.c: In function '__bm_change_bits_to': drivers/block/drbd/drbd_bitmap.c:1287: error: implicit declaration of function 'generic___test_and_set_le_bit' drivers/block/drbd/drbd_bitmap.c:1289: error: implicit declaration of function 'generic___test_and_clear_le_bit' drivers/block/drbd/drbd_bitmap.c: In function 'drbd_bm_test_bit': drivers/block/drbd/drbd_bitmap.c:1438: error: implicit declaration of function 'generic_test_le_bit' Caused by commit 4b0715f09655 ("drbd: allow petabyte storage on 64bit arch"). I have applied this patch for today (surely there is a better way): From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> Date: Fri, 11 Mar 2011 17:54:54 +1100 Subject: [PATCH] drbd: need include for bitops functions declarations Signed-off-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> --- drivers/block/drbd/drbd_bitmap.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/block/drbd/drbd_bitmap.c b/drivers/block/drbd/drbd_bitmap.c index b62dd5f..f0ae63d 100644 --- a/drivers/block/drbd/drbd_bitmap.c +++ b/drivers/block/drbd/drbd_bitmap.c @@ -28,6 +28,9 @@ #include <linux/drbd.h> #include <linux/slab.h> #include <asm/kmap_types.h> + +#include <asm-generic/bitops/le.h> + #include "drbd_int.h" -- 1.7.4.1 -- Cheers, Stephen Rothwell sfr@xxxxxxxxxxxxxxxx http://www.canb.auug.org.au/~sfr/ -- To unsubscribe from this list: send the line "unsubscribe linux-next" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html