From: Andrew Morton Date: Tue, 23 Jan 2007 04:40:33 +0000 (-0800) Subject: [PATCH] fix "kvm: add vm exit profiling" X-Git-Tag: v2.6.20-rc6~45 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=bbe1a59b3a3d4af3869647d294618a23f6c9c6a4;p=linux-2.6-omap-h63xx.git [PATCH] fix "kvm: add vm exit profiling" export profile_hits() on !SMP too. Cc: Ingo Molnar Cc: Avi Kivity Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/kernel/profile.c b/kernel/profile.c index a6574a18514..d6579d51106 100644 --- a/kernel/profile.c +++ b/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, unsigned int nr_hits) } #endif /* !CONFIG_SMP */ +EXPORT_SYMBOL_GPL(profile_hits); + void profile_tick(int type) { struct pt_regs *regs = get_irq_regs();