diff mbox series

[REPOST] xen/9pfs: don't inclide rwlock.h directly.

Message ID 20180504100319.11880-1-bigeasy@linutronix.de
State Not Applicable, archived
Delegated to: David Miller
Headers show
Series [REPOST] xen/9pfs: don't inclide rwlock.h directly. | expand

Commit Message

Sebastian Andrzej Siewior May 4, 2018, 10:03 a.m. UTC
rwlock.h should not be included directly. Instead linux/splinlock.h
should be included. One thing it does is to break the RT build.

Cc: Eric Van Hensbergen <ericvh@gmail.com>
Cc: Ron Minnich <rminnich@sandia.gov>
Cc: Latchesar Ionkov <lucho@ionkov.net>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: v9fs-developer@lists.sourceforge.net
Cc: netdev@vger.kernel.org
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
---
 net/9p/trans_xen.c |    1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

--- a/net/9p/trans_xen.c
+++ b/net/9p/trans_xen.c
@@ -38,7 +38,6 @@ 
 
 #include <linux/module.h>
 #include <linux/spinlock.h>
-#include <linux/rwlock.h>
 #include <net/9p/9p.h>
 #include <net/9p/client.h>
 #include <net/9p/transport.h>