Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

xprtrdma: removed asm-generic headers from verbs.c

asm-generic/barrier.h and asm/bitops.h are already brought into the
file through the header linux/sunrpc/svc_rdma.h and the file can
still be built with their removal. They have been replaced with the
preferred linux/bitops.h and asm/barrier.h to remove the need for the
asm-generic header.

Suggested-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Tanzir Hasan <tanzirh@google.com>
Acked-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>

authored by

Tanzir Hasan and committed by
Anna Schumaker
146a99ae 256abd8e

+2 -2
+2 -2
net/sunrpc/xprtrdma/verbs.c
··· 49 49 * o buffer memory 50 50 */ 51 51 52 + #include <linux/bitops.h> 52 53 #include <linux/interrupt.h> 53 54 #include <linux/slab.h> 54 55 #include <linux/sunrpc/addr.h> 55 56 #include <linux/sunrpc/svc_rdma.h> 56 57 #include <linux/log2.h> 57 58 58 - #include <asm-generic/barrier.h> 59 - #include <asm/bitops.h> 59 + #include <asm/barrier.h> 60 60 61 61 #include <rdma/ib_cm.h> 62 62