Subject: Re: linux-next: triage for April 19, 2012

From: Avi Kivity <[email-masked]>
Date: Mon, 28 May 2012 17:37:49 +0300

On 05/25/2012 11:59 PM, Geert Uytterhoeven wrote:
> On Fri, Apr 20, 2012 at 4:00 AM, Paul Gortmaker
> <[email-masked]> wrote:
>> The parisc got borked by some kvm header shuffle it seems?
>> Now complaining about "file 'asm-generic/kvm_para.h' is not exported"
>> [ http://kisskb.ellerman.id.au/kisskb/buildresult/6137786/ ]
> 
> Not only parisc.
> 
> This breakage has now entered mainline:
> 
> parisc deconfig http://kisskb.ellerman.id.au/kisskb/buildresult/6365677/
> m68k allmodconfig: http://kisskb.ellerman.id.au/kisskb/buildresult/6365681/

Does the following patch help?

I was unable to find a cross compiler, so I can't test it myself.

From: Avi Kivity <[email-masked]>
Date: Mon, 28 May 2012 17:35:22 +0300
Subject: [PATCH] KVM: Export asm-generic/kvm_para.h

Prevents build failures on non-KVM archs.

Signed-off-by: Avi Kivity <[email-masked]>
---
 include/asm-generic/Kbuild |    1 +
 1 file changed, 1 insertion(+)

diff --git a/include/asm-generic/Kbuild b/include/asm-generic/Kbuild
index 53f91b1..2c85a0f 100644
--- a/include/asm-generic/Kbuild
+++ b/include/asm-generic/Kbuild
@@ -8,6 +8,7 @@ header-y += int-ll64.h
 header-y += ioctl.h
 header-y += ioctls.h
 header-y += ipcbuf.h
+header-y += kvm_para.h
 header-y += mman-common.h
 header-y += mman.h
 header-y += msgbuf.h

-- 
error compiling committee.c: too many arguments to function