diff --git a/mm/filemap.c b/mm/filemap.c index 6b1d96f86a9cb85a71258a7baf3b6257cc22b799..d0e4d1002059360e50254ae2c87dc8f7a87a2dff 100644 --- a/mm/filemap.c +++ b/mm/filemap.c @@ -930,7 +930,7 @@ static inline bool clear_bit_unlock_is_negative_byte(long nr, volatile void *mem { clear_bit_unlock(nr, mem); /* smp_mb__after_atomic(); */ - return test_bit(PG_waiters); + return test_bit(PG_waiters, mem); } #endif