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-prev] [day] [month] [year] [list]
Message-Id: <20070111233157.01341bea.akpm@osdl.org>
Date:	Thu, 11 Jan 2007 23:31:57 -0800
From:	Andrew Morton <akpm@...l.org>
To:	"Miles Lane" <miles.lane@...il.com>
Cc:	avi@...ranet.com, yaniv@...ranet.com, linux-kernel@...r.kernel.org
Subject: Re: 2.6.20-rc4-mm1 -- WARNING: "profile_hits"
 [drivers/kvm/kvm-intel.ko] undefined!

On Fri, 12 Jan 2007 01:18:17 -0600
"Miles Lane" <miles.lane@...il.com> wrote:

> WARNING: "profile_hits" [drivers/kvm/kvm-intel.ko] undefined!

This?

From: Andrew Morton <akpm@...l.org>

export profile_hits() on !SMP too.

Cc: Ingo Molnar <mingo@...e.hu>
Cc: Avi Kivity <avi@...ranet.com>
Signed-off-by: Andrew Morton <akpm@...l.org>
---

 kernel/profile.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff -puN kernel/profile.c~kvm-add-vm-exit-profiling-fix kernel/profile.c
--- a/kernel/profile.c~kvm-add-vm-exit-profiling-fix
+++ a/kernel/profile.c
@@ -331,7 +331,6 @@ out:
 	local_irq_restore(flags);
 	put_cpu();
 }
-EXPORT_SYMBOL_GPL(profile_hits);
 
 static int __devinit profile_cpu_callback(struct notifier_block *info,
 					unsigned long action, void *__cpu)
@@ -401,6 +400,8 @@ void profile_hits(int type, void *__pc, 
 }
 #endif /* !CONFIG_SMP */
 
+EXPORT_SYMBOL_GPL(profile_hits);
+
 void profile_tick(int type)
 {
 	struct pt_regs *regs = get_irq_regs();
_

-
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