diff options
-rw-r--r-- | include/linux/mm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h index 9ade803bcc1b..57e11b2a18ba 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h | |||
@@ -657,7 +657,7 @@ static inline struct address_space *page_mapping(struct page *page) | |||
657 | VM_BUG_ON(PageSlab(page)); | 657 | VM_BUG_ON(PageSlab(page)); |
658 | if (unlikely(PageSwapCache(page))) | 658 | if (unlikely(PageSwapCache(page))) |
659 | mapping = &swapper_space; | 659 | mapping = &swapper_space; |
660 | else if (unlikely((unsigned long)mapping & PAGE_MAPPING_ANON)) | 660 | else if ((unsigned long)mapping & PAGE_MAPPING_ANON) |
661 | mapping = NULL; | 661 | mapping = NULL; |
662 | return mapping; | 662 | return mapping; |
663 | } | 663 | } |