Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=bbe1a59b3a3d4af3869647d294618a23f6c9c6a4 Commit: bbe1a59b3a3d4af3869647d294618a23f6c9c6a4 Parent: 9ee79a3d372fcb6729893437f4923c5efd1f85db Author: Andrew Morton <[EMAIL PROTECTED]> AuthorDate: Mon Jan 22 20:40:33 2007 -0800 Committer: Linus Torvalds <[EMAIL PROTECTED]> CommitDate: Tue Jan 23 07:52:05 2007 -0800
[PATCH] fix "kvm: add vm exit profiling" export profile_hits() on !SMP too. Cc: Ingo Molnar <[EMAIL PROTECTED]> Cc: Avi Kivity <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]> --- kernel/profile.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/kernel/profile.c b/kernel/profile.c index a6574a1..d6579d5 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(); - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html