lkml.org 
[lkml]   [2007]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 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@gmail.com> wrote:

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

This?

From: Andrew Morton <akpm@osdl.org>

export profile_hits() on !SMP too.

Cc: Ingo Molnar <mingo@elte.hu>
Cc: Avi Kivity <avi@qumranet.com>
Signed-off-by: Andrew Morton <akpm@osdl.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@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-12 09:05    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean