From a76f15b5de6dec1dd92225270e79e212dc219b8b Mon Sep 17 00:00:00 2001 From: Konrad Rzeszutek Wilk Date: Tue, 19 Jun 2012 15:03:14 -0400 Subject: [PATCH] xen/oprofile: The arch_ variants for init/exec weren't being called. Signed-off-by: Konrad Rzeszutek Wilk Conflicts: drivers/oprofile/oprof.c --- drivers/oprofile/oprof.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/oprofile/oprof.c b/drivers/oprofile/oprof.c index 34cabf5e0fb7..b97bf9577c47 100644 --- a/drivers/oprofile/oprof.c +++ b/drivers/oprofile/oprof.c @@ -287,7 +287,8 @@ static int __init oprofile_init(void) oprofile_arch_exit_func = oprofile_arch_exit; } - err = oprofile_arch_init(&oprofile_ops); + + err = oprofile_arch_init_func(&oprofile_ops); if (err < 0 || timer) { printk(KERN_INFO "oprofile: using timer interrupt.\n"); err = oprofile_timer_init(&oprofile_ops); -- 2.50.1