On Fri, 12 Jan 2007 01:18:17 -0600
"Miles Lane" <[EMAIL PROTECTED]> wrote:

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

This?

From: Andrew Morton <[EMAIL PROTECTED]>

export profile_hits() on !SMP too.

Cc: Ingo Molnar <[EMAIL PROTECTED]>
Cc: Avi Kivity <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

 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 [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to