diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2020-03-05 22:28:39 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-03-06 07:06:09 -0600 |
commit | a8198fedd94590ba28c1537440cdb260718ac13b (patch) | |
tree | 1392a903e93766aa879128f3c117791c76e43630 /mm/z3fold.c | |
parent | bc87302a093f0eab45cd4e250c2021299f712ec6 (diff) | |
download | lwn-a8198fedd94590ba28c1537440cdb260718ac13b.tar.gz lwn-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.c | 1 |
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> |