aboutsummaryrefslogtreecommitdiffstats
path: root/mm/filemap.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/filemap.c')
-rw-r--r--mm/filemap.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/mm/filemap.c b/mm/filemap.c
index 00ab94a882de..db26ebc6c62f 100644
--- a/mm/filemap.c
+++ b/mm/filemap.c
@@ -789,9 +789,7 @@ EXPORT_SYMBOL(__page_cache_alloc);
789 */ 789 */
790wait_queue_head_t *page_waitqueue(struct page *page) 790wait_queue_head_t *page_waitqueue(struct page *page)
791{ 791{
792 const struct zone *zone = page_zone(page); 792 return bit_waitqueue(page, 0);
793
794 return &zone->wait_table[hash_ptr(page, zone->wait_table_bits)];
795} 793}
796EXPORT_SYMBOL(page_waitqueue); 794EXPORT_SYMBOL(page_waitqueue);
797 795