lkml.org 
[lkml]   [2007]   [Jan]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: Linux v2.6.20-rc5


From: Jeff Chua <jchua@fedex.com>

> CC [M] drivers/kvm/vmx.o
> {standard input}: Assembler messages:
> {standard input}:3257: Error: bad register name `%sil'
> make[2]: *** [drivers/kvm/vmx.o] Error 1
> make[1]: *** [drivers/kvm] Error 2
> make: *** [drivers] Error 2


I'm not using the kernel profiler, so here's a patch to make it work without
CONFIG_PROFILING.


Thanks,
Jeff


--- linux/drivers/kvm/vmx.c.org 2007-01-13 12:57:28 +0800
+++ linux/drivers/kvm/vmx.c 2007-01-13 14:01:17 +0800
@@ -21,7 +21,11 @@
#include <linux/module.h>
#include <linux/mm.h>
#include <linux/highmem.h>
+
+#ifdef CONFIG_PROFILING
#include <linux/profile.h>
+#endif
+
#include <asm/io.h>
#include <asm/desc.h>

@@ -1861,11 +1865,13 @@
asm ("mov %0, %%ds; mov %0, %%es" : : "r"(__USER_DS));
#endif

+#ifdef CONFIG_PROFILING
/*
* Profile KVM exit RIPs:
*/
if (unlikely(prof_on == KVM_PROFILING))
profile_hit(KVM_PROFILING, (void *)vmcs_readl(GUEST_RIP));
+#endif

kvm_run->exit_type = 0;
if (fail) {
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2007-01-13 07:59    [W:1.040 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site