diff options
author | Andrew Morton <akpm@osdl.org> | 2007-01-22 20:40:33 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-01-23 07:52:05 -0800 |
commit | bbe1a59b3a3d4af3869647d294618a23f6c9c6a4 (patch) | |
tree | 6d5d6bd4ccd230919ba1f20d14868bcb03ac4215 /kernel | |
parent | 9ee79a3d372fcb6729893437f4923c5efd1f85db (diff) | |
download | kernel-crypto-bbe1a59b3a3d4af3869647d294618a23f6c9c6a4.tar.gz kernel-crypto-bbe1a59b3a3d4af3869647d294618a23f6c9c6a4.tar.xz kernel-crypto-bbe1a59b3a3d4af3869647d294618a23f6c9c6a4.zip |
[PATCH] fix "kvm: add vm exit profiling"
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/profile.c | 3 |
1 files changed, 2 insertions, 1 deletions
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(); |