diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-08-10 11:22:01 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-10-24 11:20:12 -0200 |
commit | 939747bd680eb09bb98792b17a5bfd2f525afe9d (patch) | |
tree | 694fc4a5bd213b7723217123a60c4361375667d4 /drivers/edac/edac_core.h | |
parent | f6f94e2ab1b33f0082ac22d71f66385a60d8157f (diff) | |
download | linux-3.10-939747bd680eb09bb98792b17a5bfd2f525afe9d.tar.gz linux-3.10-939747bd680eb09bb98792b17a5bfd2f525afe9d.tar.bz2 linux-3.10-939747bd680eb09bb98792b17a5bfd2f525afe9d.zip |
i7core_edac: Be sure that the edac pci handler will be properly released
With multi-sockets, more than one edac pci handler is enabled. Be sure to
un-register all instances.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/edac/edac_core.h')
-rw-r--r-- | drivers/edac/edac_core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/edac/edac_core.h b/drivers/edac/edac_core.h index ce7146677e9..7450fd3bdf0 100644 --- a/drivers/edac/edac_core.h +++ b/drivers/edac/edac_core.h @@ -810,6 +810,7 @@ extern struct mem_ctl_info *edac_mc_alloc(unsigned sz_pvt, unsigned nr_csrows, extern int edac_mc_add_mc(struct mem_ctl_info *mci); extern void edac_mc_free(struct mem_ctl_info *mci); extern struct mem_ctl_info *edac_mc_find(int idx); +extern struct mem_ctl_info *find_mci_by_dev(struct device *dev); extern struct mem_ctl_info *edac_mc_del_mc(struct device *dev); extern int edac_mc_find_csrow_by_page(struct mem_ctl_info *mci, unsigned long page); |