projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'pull-work.namei' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[linux-2.6-microblaze.git]
/
mm
/
swap_slots.c
diff --git
a/mm/swap_slots.c
b/mm/swap_slots.c
index
2a65a89
..
10b94d6
100644
(file)
--- a/
mm/swap_slots.c
+++ b/
mm/swap_slots.c
@@
-307,7
+307,7
@@
swp_entry_t folio_alloc_swap(struct folio *folio)
entry.val = 0;
if (folio_test_large(folio)) {
- if (IS_ENABLED(CONFIG_THP_SWAP))
+ if (IS_ENABLED(CONFIG_THP_SWAP)
&& arch_thp_swp_supported()
)
get_swap_pages(1, &entry, folio_nr_pages(folio));
goto out;
}