summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorTanzir Hasan <tanzirh@google.com>2024-01-02 23:22:18 +0100
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2024-07-08 16:55:39 +0200
commit146a99aefe4a45f68ed371709103cd1dbba6128c (patch)
tree6bbbc39379f32ee457c4137939f2f9a5f2668c99 /net
parentLinux 6.10-rc7 (diff)
downloadlinux-146a99aefe4a45f68ed371709103cd1dbba6128c.tar.xz
linux-146a99aefe4a45f68ed371709103cd1dbba6128c.zip
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>
Diffstat (limited to 'net')
-rw-r--r--net/sunrpc/xprtrdma/verbs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sunrpc/xprtrdma/verbs.c b/net/sunrpc/xprtrdma/verbs.c
index 432557a553e7..e6e660647137 100644
--- a/net/sunrpc/xprtrdma/verbs.c
+++ b/net/sunrpc/xprtrdma/verbs.c
@@ -49,14 +49,14 @@
* o buffer memory
*/
+#include <linux/bitops.h>
#include <linux/interrupt.h>
#include <linux/slab.h>
#include <linux/sunrpc/addr.h>
#include <linux/sunrpc/svc_rdma.h>
#include <linux/log2.h>
-#include <asm-generic/barrier.h>
-#include <asm/bitops.h>
+#include <asm/barrier.h>
#include <rdma/ib_cm.h>