diff mbox series

mm/z3fold: Do not include rwlock.h directly

Message ID 20200224133631.1510569-1-bigeasy@linutronix.de (mailing list archive)
State New, archived
Headers show
Series mm/z3fold: Do not include rwlock.h directly | expand

Commit Message

Sebastian Andrzej Siewior Feb. 24, 2020, 1:36 p.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.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
---
 mm/z3fold.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/mm/z3fold.c b/mm/z3fold.c
index 43754d8ebce8f..42f31c4b53ad4 100644
--- a/mm/z3fold.c
+++ b/mm/z3fold.c
@@ -41,7 +41,6 @@ 
 #include <linux/workqueue.h>
 #include <linux/slab.h>
 #include <linux/spinlock.h>
-#include <linux/rwlock.h>
 #include <linux/zpool.h>
 #include <linux/magic.h>