lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 13 Jan 2007 14:05:51 +0800 (SGT)
From:	Jeff Chua <jeff.chua.linux@...il.com>
To:	Linux Kernel <linux-kernel@...r.kernel.org>,
	Linus Torvalds <torvalds@...l.org>,
	Andrew Morton <akpm@...l.org>
Subject: Re: Linux v2.6.20-rc5



From: Jeff Chua <jchua@...ex.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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ