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

From: Stephen Rothwell <[email-masked]>
Date: Thu, 27 May 2021 08:43:56 +1000

Hi all,

After merging the kvm-fixes tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

In file included from arch/powerpc/include/asm/kvm_ppc.h:19,
                 from arch/powerpc/include/asm/dbell.h:17,
                 from arch/powerpc/kernel/asm-offsets.c:38:
include/linux/kvm_host.h: In function 'kvm_vcpu_can_poll':
include/linux/kvm_host.h:270:9: error: implicit declaration of function 'single_task_running' [-Werror=implicit-function-declaration]
  270 |  return single_task_running() && !need_resched() && ktime_before(cur, stop);
      |         ^~~~~~~~~~~~~~~~~~~

Caused by commit

  85d4c3baeb45 ("KVM: PPC: exit halt polling on need_resched()")

I have used the kvm-fixes tree from next-20210524 again today.

-- 
Cheers,
Stephen Rothwell