mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
[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]>
This commit is contained in:
parent
9ee79a3d37
commit
bbe1a59b3a
1 changed files with 2 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue