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

From: Stephen Rothwell <[email-masked]>
Date: Wed, 23 Aug 2023 08:52:36 +1000

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