Skip to contentSkip to conversation

kvm: export kvm_para.h

PATCH Applied Michael S. Tsirkin 2 participants 2 messages Aug 10, 2009 – Aug 16, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 kvm: export kvm_para.h

kvm_para.h contains userspace interface and so
should be exported.

---

Changes since v1:
Added asm/kvm_para.h which was also missing

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/asm-generic/Kbuild.asm |    5 +++++
 include/linux/Kbuild           |    4 ++++
 2 files changed, 9 insertions(+), 0 deletions(-)
include/asm-generic/Kbuild.asm +5 -0
index 290910e..4b56e4d 100644
@@ -3,6 +3,11 @@ ifneq ($(wildcard $(srctree)/arch/$(SRCARCH)/include/asm/kvm.h \
 header-y  += kvm.h
 endif
 
+ifneq ($(wildcard $(srctree)/arch/$(SRCARCH)/include/asm/kvm_para.h \
+      		  $(srctree)/include/asm-$(SRCARCH)/kvm_para.h),)
+header-y  += kvm_para.h
+endif
+
 ifneq ($(wildcard $(srctree)/arch/$(SRCARCH)/include/asm/a.out.h \
       		  $(srctree)/include/asm-$(SRCARCH)/a.out.h),)
 unifdef-y += a.out.h
include/linux/Kbuild +4 -0
index ab93554..975df9a 100644
@@ -268,6 +268,10 @@ ifneq ($(wildcard $(srctree)/arch/$(SRCARCH)/include/asm/kvm.h \
       		  $(srctree)/include/asm-$(SRCARCH)/kvm.h),)
 unifdef-y += kvm.h
 endif
+ifneq ($(wildcard $(srctree)/arch/$(SRCARCH)/include/asm/kvm_para.h \
+      		  $(srctree)/include/asm-$(SRCARCH)/kvm_para.h),)
+unifdef-y += kvm_para.h
+endif
 unifdef-y += llc.h
 unifdef-y += loop.h
 unifdef-y += lp.h
Signature · 1 line
1.6.2.5
Applied
#1 lore raw
Quoted 3 lines · Michael S. Tsirkin

kvm_para.h contains userspace interface and so
should be exported.

Applied, thanks.

Signature · 1 line
error compiling committee.c: too many arguments to function