Re: [PATCH 2/5] oprofile: Fix crash when unloading module (hr timer

From: Ingo Molnar
Date: Tue Oct 18 2011 - 02:14:12 EST



* Robert Richter <robert.richter@xxxxxxx> wrote:

> + /* failed */
> + if (timer_mode)
> + oprofile_timer_exit();
> + else
> + oprofile_arch_exit();

> - oprofile_arch_exit();
> + if (timer_mode)
> + oprofile_timer_exit();
> + else
> + oprofile_arch_exit();

That's rather ugly ...

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/