From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757030Ab2DTBUA (ORCPT ); Thu, 19 Apr 2012 21:20:00 -0400 Received: from mx1.redhat.com ([209.132.183.28]:11439 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932263Ab2DTBTi (ORCPT ); Thu, 19 Apr 2012 21:19:38 -0400 Date: Thu, 19 Apr 2012 22:14:13 -0300 From: Marcelo Tosatti To: Stephen Rothwell Cc: Avi Kivity , linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Eric B Munson , Alexander Graf Subject: Re: linux-next: build failure after merge of the final tree (kvm-ppc tree related) Message-ID: <20120420011413.GA12235@amt.cnet> References: <20120419163535.52c99a34e2664063d654ac4d@canb.auug.org.au> <20120420101012.591b5e64a8939135bf5cd167@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120420101012.591b5e64a8939135bf5cd167@canb.auug.org.au> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 20, 2012 at 10:10:12AM +1000, Stephen Rothwell wrote: > Hi all, > > On Thu, 19 Apr 2012 16:35:35 +1000 Stephen Rothwell wrote: > > > > After merging the final tree, today's linux-next build (sparc64 defconfig) > > failed like this: > > > > In file included from kernel/watchdog.c:27:0: > > include/linux/kvm_para.h: In function 'kvm_para_has_feature': > > include/linux/kvm_para.h:32:2: error: implicit declaration of function 'kvm_arch_para_features' [-Werror=implicit-function-declaration] > > > > Caused by commit 5d1c0f4a80a6 ("watchdog: add check for suspended vm in > > softlockup detector"). This build has no KVM related CONFIG options set. > > > > I have reverted that commit for today. > > This build failure now belongs to the kvm tree ... > > -- > Cheers, > Stephen Rothwell sfr@canb.auug.org.au Stephen, Can you try the patch below please? KVM: add kvm_arch_para_features stub to asm-generic/kvm_para.h Needed by kvm_para_has_feature(). Reported-by: Stephen Rothwell diff --git a/include/asm-generic/kvm_para.h b/include/asm-generic/kvm_para.h index 05ef7e7..9a7bbad 100644 --- a/include/asm-generic/kvm_para.h +++ b/include/asm-generic/kvm_para.h @@ -11,4 +11,9 @@ static inline bool kvm_check_and_clear_guest_paused(void) return false; } +static inline unsigned int kvm_arch_para_features(void) +{ + return 0; +} + #endif