Re: [PATCH] x86/mce: Don't unregister CPU hotplug notifier in error path
From: Boris Ostrovsky
Date: Fri Jun 20 2014 - 16:15:41 EST
On 06/20/2014 04:03 PM, Borislav Petkov wrote:
On Fri, Jun 20, 2014 at 03:39:34PM -0400, Boris Ostrovsky wrote:
What about mce_device_add()?
What is a mce_device_add()? There's no such function.
Sorry, mce_device_create().
We can't call it in the notifier until mcheck_init_device() has been
successfully executed (we need subsys_system_register(&mce_subsys)). I
don't know whether we can call subsys_system_register() in mcheck_init()
-- it is quite early in the boot.
-boris
--
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/