]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
rds: Fix build on powerpc.
authorDavid S. Miller <davem@davemloft.net>
Mon, 2 Mar 2009 09:49:28 +0000 (01:49 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Mar 2009 09:49:28 +0000 (01:49 -0800)
As reported by Stephen Rothwell.

> Today's linux-next build (powerpc allyesconfig) failed like this:
>
> net/rds/cong.c: In function 'rds_cong_set_bit':
> net/rds/cong.c:284: error: implicit declaration of function 'generic___set_le_bit'
> net/rds/cong.c: In function 'rds_cong_clear_bit':
> net/rds/cong.c:298: error: implicit declaration of function 'generic___clear_le_bit'
> net/rds/cong.c: In function 'rds_cong_test_bit':
> net/rds/cong.c:309: error: implicit declaration of function 'generic_test_le_bit'

Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/cong.c

index 90e6b31d8e8a4598ebb5dc78d65d8fd9cac43d1b..710e4599d76cffa7a56ad2891c127960b37cb3c0 100644 (file)
@@ -33,6 +33,8 @@
 #include <linux/types.h>
 #include <linux/rbtree.h>
 
+#include <asm-generic/bitops/le.h>
+
 #include "rds.h"
 
 /*