linux-next: build failure after merge of the mm tree

From: Stephen Rothwell
Date: Tue Aug 22 2023 - 18:53:06 EST


Hi all,

After merging the mm tree, today's linux-next build (arm
multi_v7_defconfig) failed like this:

fs/proc/task_mmu.c: In function 'smaps_account':
fs/proc/task_mmu.c:457:40: error: implicit declaration of function 'is_ksm_zero_pte' [-Werror=implicit-function-declaration]
457 | if (PageKsm(page) && (!pte || !is_ksm_zero_pte(*pte)))
| ^~~~~~~~~~~~~~~

Caused by commit

5233d9beb1a8 ("proc/ksm: add ksm stats to /proc/pid/smaps")

# CONFIG_KSM is not set

I have reverted that commit for today.

--
Cheers,
Stephen Rothwell

Attachment: pgpm6GIsSPlh_.pgp
Description: OpenPGP digital signature