EDAC, mce_amd_inj: Move bit preparations before the injection
authorBorislav Petkov <bp@suse.de>
Wed, 10 Jun 2015 14:17:13 +0000 (16:17 +0200)
committerBorislav Petkov <bp@suse.de>
Wed, 24 Jun 2015 16:17:37 +0000 (18:17 +0200)
commit6d1e9bf5b04887a2220fbb44be074e9e8376e332
treecbf5c74f528ed51f177f91d9f1a78f879d259a2e
parentf2f3dca1b7a66cbc91f45b59b8606bb325fa869f
EDAC, mce_amd_inj: Move bit preparations before the injection

We do get_online_cpus() and then start noodling with the bits. Do that
*before* we grab the hotplug lock.

Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/mce_amd_inj.c