summaryrefslogtreecommitdiffstats
path: root/mm/z3fold.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2020-03-05 22:28:39 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2020-03-06 07:06:09 -0600
commita8198fedd94590ba28c1537440cdb260718ac13b (patch)
tree1392a903e93766aa879128f3c117791c76e43630 /mm/z3fold.c
parentbc87302a093f0eab45cd4e250c2021299f712ec6 (diff)
downloadlinux-a8198fedd94590ba28c1537440cdb260718ac13b.tar.gz
linux-a8198fedd94590ba28c1537440cdb260718ac13b.tar.bz2
linux-a8198fedd94590ba28c1537440cdb260718ac13b.zip
mm/z3fold.c: do not include rwlock.h directly
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: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Vitaly Wool <vitaly.wool@konsulko.com> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/20200224133631.1510569-1-bigeasy@linutronix.de Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/z3fold.c')
-rw-r--r--mm/z3fold.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/mm/z3fold.c b/mm/z3fold.c
index 43754d8ebce8..42f31c4b53ad 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>