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 [EMAIL PROTECTED]
# Date 1165600531 21600
# Node ID c70bb221991719f75904e7734789463a4ab26c23
# Parent  19eeefbb8205848deef5265931d22722e976c962
Fix 32 build on 2.6.17-10-generic (load_TR_desc undefined).

Signed-off-by: Anthony Liguori <[EMAIL PROTECTED]>

diff -r 19eeefbb8205 -r c70bb2219917 kernel/vmx.c
--- a/kernel/vmx.c	Wed Dec 06 09:11:45 2006 +0000
+++ b/kernel/vmx.c	Fri Dec 08 11:55:31 2006 -0600
@@ -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
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to