summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2017-08-01 16:36:07 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2017-08-01 16:36:41 +1000
commit90209c0176daaab4009efd6e7ed970a87946318d (patch)
treef0d0c432a1d872bdd086be463124315f5970a644
parentfd5ec60d8870d0fb3181207dc2c415310df679c5 (diff)
Revert "mm-thp-enable-thp-migration-in-generic-path-fix"
-rw-r--r--include/linux/swapops.h2
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)