diff mbox

kvm: export kvm_para.h

Message ID 20090810124851.GA9911@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Michael S. Tsirkin Aug. 10, 2009, 12:48 p.m. UTC
kvm_para.h contains userspace interface and so
should be exported.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---

Avi, this fixes a bug (in build system) that has been there since
2.6.26.  Since userspace already uses this header, I think it would be
nice to have the fix in 2.6.31.

 include/linux/Kbuild |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Comments

Avi Kivity Aug. 16, 2009, 12:09 p.m. UTC | #1
On 08/10/2009 03:48 PM, Michael S. Tsirkin wrote:
> kvm_para.h contains userspace interface and so
> should be exported.
>
>    

Doesn't it need asm/kvm_para.h as well?
Michael S. Tsirkin Aug. 16, 2009, 12:11 p.m. UTC | #2
On Sun, Aug 16, 2009 at 03:09:55PM +0300, Avi Kivity wrote:
> On 08/10/2009 03:48 PM, Michael S. Tsirkin wrote:
>> kvm_para.h contains userspace interface and so
>> should be exported.
>>
>>    
>
> Doesn't it need asm/kvm_para.h as well?

Yes, that was v2.

> -- 
> error compiling committee.c: too many arguments to function
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/include/linux/Kbuild b/include/linux/Kbuild
index ab93554..598d407 100644
--- a/include/linux/Kbuild
+++ b/include/linux/Kbuild
@@ -267,6 +267,7 @@  unifdef-y += keyboard.h
 ifneq ($(wildcard $(srctree)/arch/$(SRCARCH)/include/asm/kvm.h \
       		  $(srctree)/include/asm-$(SRCARCH)/kvm.h),)
 unifdef-y += kvm.h
+unifdef-y += kvm_para.h
 endif
 unifdef-y += llc.h
 unifdef-y += loop.h