diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2017-08-01 16:36:07 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2017-08-01 16:36:41 +1000 |
commit | 90209c0176daaab4009efd6e7ed970a87946318d (patch) | |
tree | f0d0c432a1d872bdd086be463124315f5970a644 | |
parent | fd5ec60d8870d0fb3181207dc2c415310df679c5 (diff) |
Revert "mm-thp-enable-thp-migration-in-generic-path-fix"
This reverts commit 9bb18490758ccc7b3e61fec8d87f2e6470c13ca2.
-rw-r--r-- | include/linux/swapops.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/swapops.h b/include/linux/swapops.h index 45b092aa6419..379d05239bc2 100644 --- a/include/linux/swapops.h +++ b/include/linux/swapops.h @@ -223,7 +223,7 @@ static inline swp_entry_t pmd_to_swp_entry(pmd_t pmd) static inline pmd_t swp_entry_to_pmd(swp_entry_t entry) { - return __pmd(0); + return (pmd_t){ 0 }; } static inline int is_pmd_migration_entry(pmd_t pmd) |