diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-08-11 23:30:25 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-10-24 09:20:37 -0400 |
commit | 6fe1108f14f4f9581af97cab752f37dc8fa9fdec (patch) | |
tree | 88484ab0733ed38cf09526f9d47e4c52d8ac0430 /drivers/edac/edac_mc.c | |
parent | 39300e7143f8ef81b07cee3d8b86880bc4311ea0 (diff) |
edac_core: Do a better job with node removal
Make sure we remove groups at the right order
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/edac/edac_mc.c')
-rw-r--r-- | drivers/edac/edac_mc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/edac/edac_mc.c b/drivers/edac/edac_mc.c index 6b7e723e46be..b10b45cc7870 100644 --- a/drivers/edac/edac_mc.c +++ b/drivers/edac/edac_mc.c | |||
@@ -207,6 +207,7 @@ struct mem_ctl_info *edac_mc_alloc(unsigned sz_pvt, unsigned nr_csrows, | |||
207 | } | 207 | } |
208 | 208 | ||
209 | mci->op_state = OP_ALLOC; | 209 | mci->op_state = OP_ALLOC; |
210 | INIT_LIST_HEAD(&mci->grp_kobj_list); | ||
210 | 211 | ||
211 | /* | 212 | /* |
212 | * Initialize the 'root' kobj for the edac_mc controller | 213 | * Initialize the 'root' kobj for the edac_mc controller |