summaryrefslogtreecommitdiffstats
path: root/net/rds/cong.c
diff options
context:
space:
mode:
authorDavid S. Miller2009-03-02 10:49:28 +0100
committerDavid S. Miller2009-03-02 10:49:28 +0100
commitc3b3240450ab8a1f3e52c5a69d53113deb6f91c5 (patch)
treeaa3d75899e030f149761fd2378a5c24f42651cc7 /net/rds/cong.c
parentMerge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ne... (diff)
downloadkernel-qcow2-linux-c3b3240450ab8a1f3e52c5a69d53113deb6f91c5.tar.gz
kernel-qcow2-linux-c3b3240450ab8a1f3e52c5a69d53113deb6f91c5.tar.xz
kernel-qcow2-linux-c3b3240450ab8a1f3e52c5a69d53113deb6f91c5.zip
rds: Fix build on powerpc.
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>
Diffstat (limited to 'net/rds/cong.c')
-rw-r--r--net/rds/cong.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/rds/cong.c b/net/rds/cong.c
index 90e6b31d8e8a..710e4599d76c 100644
--- a/net/rds/cong.c
+++ b/net/rds/cong.c
@@ -33,6 +33,8 @@
#include <linux/types.h>
#include <linux/rbtree.h>
+#include <asm-generic/bitops/le.h>
+
#include "rds.h"
/*