linux-next: build failure after merge of the akpm-current tree
From: Stephen Rothwell
Date: Tue Aug 01 2017 - 02:39:13 EST
Hi Andrew,
After merging the akpm tree, today's linux-next build (sparc defconfig)
failed like this:
In file included from mm/vmscan.c:55:0:
include/linux/swapops.h: In function 'swp_entry_to_pmd':
include/linux/swapops.h:226:9: error: implicit declaration of function '__pmd' [-Werror=implicit-function-declaration]
return __pmd(0);
^
include/linux/swapops.h:226:9: error: incompatible types when returning type 'int' but 'pmd_t {aka struct <anonymous>}' was expected
Caused by commit
9bb18490758c ("mm-thp-enable-thp-migration-in-generic-path-fix")
It looks like sparc 32 bit has no __pmd() ...
I have reverted that commit for today.
--
Cheers,
Stephen Rothwell