Skip to contentSkip to conversation

Fix 32bit build on 2.6.17.10

PATCH Applied Anthony Liguori 2 participants 2 messages Dec 8, 2006 – Dec 10, 2006 1 message not in the archive KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix 32bit build on 2.6.17.10

When building as a module on Ubuntu Edgy, I get a compile error due to load_TR_desc being undefined in vmx.o. This patch adds the appropriate include.

Regards,

Anthony Liguori

# HG changeset patch
# User anthony@rhesus
# Date 1165600531 21600
# Node ID c70bb221991719f75904e7734789463a4ab26c23 # Parent 19eeefbb8205848deef5265931d22722e976c962 Fix 32 build on 2.6.17-10-generic (load_TR_desc undefined).

kernel/vmx.c +1 -0
diff -r 19eeefbb8205 -r c70bb2219917 kernel/vmx.c
@@ -22,6 +22,7 @@
 #include <linux/mm.h>
 #include <linux/highmem.h>
 #include <asm/io.h>
+#include <asm/desc.h>
 
 #include "segment_descriptor.h"
 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Applied
#2 lore raw
In reply to a message not in the archive
Quoted 4 lines · Anthony Liguori

When building as a module on Ubuntu Edgy, I get a compile error due to load_TR_desc being undefined in vmx.o. This patch adds the appropriate include.

Applied, thanks.

Signature · 8 lines
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV