> I can see set_nmi_pm_callback() in nmi_setup(), but can not see where
> nmi.c's pm_callback is restored in nmi_shutdown().
It's the very first line :
149 unset_nmi_pm_callback(oprofile_pmdev);
The unset will also restore the nmi_pmdev back.
regards
john
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/