On Tue, Aug 14, 2018 at 11:51 AM Vlastimil Babka vbabka@suse.cz wrote:
The introduction of generic_max_swapfile_size and arch-specific versions has broken linking on x86 with CONFIG_SWAP=n due to undefined reference to 'generic_max_swapfile_size'. Fix it by compiling the x86-specific max_swapfile_size() only with CONFIG_SWAP=y.
Pretty much all the x86 people are on vacation this week, so I just took this directly.
Linus