diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/edac/edac_mc.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/drivers/edac/edac_mc.c b/drivers/edac/edac_mc.c index bb3460457fa3..905f58ba8e16 100644 --- a/drivers/edac/edac_mc.c +++ b/drivers/edac/edac_mc.c | |||
@@ -45,7 +45,7 @@ | |||
45 | #ifdef CONFIG_EDAC_DEBUG | 45 | #ifdef CONFIG_EDAC_DEBUG |
46 | /* Values of 0 to 4 will generate output */ | 46 | /* Values of 0 to 4 will generate output */ |
47 | int edac_debug_level = 1; | 47 | int edac_debug_level = 1; |
48 | EXPORT_SYMBOL(edac_debug_level); | 48 | EXPORT_SYMBOL_GPL(edac_debug_level); |
49 | #endif | 49 | #endif |
50 | 50 | ||
51 | /* EDAC Controls, setable by module parameter, and sysfs */ | 51 | /* EDAC Controls, setable by module parameter, and sysfs */ |
@@ -1211,7 +1211,7 @@ void edac_mc_dump_channel(struct channel_info *chan) | |||
1211 | debugf4("\tchannel->label = '%s'\n", chan->label); | 1211 | debugf4("\tchannel->label = '%s'\n", chan->label); |
1212 | debugf4("\tchannel->csrow = %p\n\n", chan->csrow); | 1212 | debugf4("\tchannel->csrow = %p\n\n", chan->csrow); |
1213 | } | 1213 | } |
1214 | EXPORT_SYMBOL(edac_mc_dump_channel); | 1214 | EXPORT_SYMBOL_GPL(edac_mc_dump_channel); |
1215 | 1215 | ||
1216 | void edac_mc_dump_csrow(struct csrow_info *csrow) | 1216 | void edac_mc_dump_csrow(struct csrow_info *csrow) |
1217 | { | 1217 | { |
@@ -1227,7 +1227,7 @@ void edac_mc_dump_csrow(struct csrow_info *csrow) | |||
1227 | debugf4("\tcsrow->channels = %p\n", csrow->channels); | 1227 | debugf4("\tcsrow->channels = %p\n", csrow->channels); |
1228 | debugf4("\tcsrow->mci = %p\n\n", csrow->mci); | 1228 | debugf4("\tcsrow->mci = %p\n\n", csrow->mci); |
1229 | } | 1229 | } |
1230 | EXPORT_SYMBOL(edac_mc_dump_csrow); | 1230 | EXPORT_SYMBOL_GPL(edac_mc_dump_csrow); |
1231 | 1231 | ||
1232 | void edac_mc_dump_mci(struct mem_ctl_info *mci) | 1232 | void edac_mc_dump_mci(struct mem_ctl_info *mci) |
1233 | { | 1233 | { |
@@ -1243,7 +1243,7 @@ void edac_mc_dump_mci(struct mem_ctl_info *mci) | |||
1243 | mci->mod_name, mci->ctl_name); | 1243 | mci->mod_name, mci->ctl_name); |
1244 | debugf3("\tpvt_info = %p\n\n", mci->pvt_info); | 1244 | debugf3("\tpvt_info = %p\n\n", mci->pvt_info); |
1245 | } | 1245 | } |
1246 | EXPORT_SYMBOL(edac_mc_dump_mci); | 1246 | EXPORT_SYMBOL_GPL(edac_mc_dump_mci); |
1247 | 1247 | ||
1248 | #endif /* CONFIG_EDAC_DEBUG */ | 1248 | #endif /* CONFIG_EDAC_DEBUG */ |
1249 | 1249 | ||
@@ -1351,7 +1351,7 @@ struct mem_ctl_info *edac_mc_alloc(unsigned sz_pvt, unsigned nr_csrows, | |||
1351 | 1351 | ||
1352 | return mci; | 1352 | return mci; |
1353 | } | 1353 | } |
1354 | EXPORT_SYMBOL(edac_mc_alloc); | 1354 | EXPORT_SYMBOL_GPL(edac_mc_alloc); |
1355 | 1355 | ||
1356 | /** | 1356 | /** |
1357 | * edac_mc_free: Free a previously allocated 'mci' structure | 1357 | * edac_mc_free: Free a previously allocated 'mci' structure |
@@ -1361,7 +1361,7 @@ void edac_mc_free(struct mem_ctl_info *mci) | |||
1361 | { | 1361 | { |
1362 | kfree(mci); | 1362 | kfree(mci); |
1363 | } | 1363 | } |
1364 | EXPORT_SYMBOL(edac_mc_free); | 1364 | EXPORT_SYMBOL_GPL(edac_mc_free); |
1365 | 1365 | ||
1366 | static struct mem_ctl_info *find_mci_by_pdev(struct pci_dev *pdev) | 1366 | static struct mem_ctl_info *find_mci_by_pdev(struct pci_dev *pdev) |
1367 | { | 1367 | { |
@@ -1499,7 +1499,7 @@ fail0: | |||
1499 | up(&mem_ctls_mutex); | 1499 | up(&mem_ctls_mutex); |
1500 | return 1; | 1500 | return 1; |
1501 | } | 1501 | } |
1502 | EXPORT_SYMBOL(edac_mc_add_mc); | 1502 | EXPORT_SYMBOL_GPL(edac_mc_add_mc); |
1503 | 1503 | ||
1504 | /** | 1504 | /** |
1505 | * edac_mc_del_mc: Remove sysfs entries for specified mci structure and | 1505 | * edac_mc_del_mc: Remove sysfs entries for specified mci structure and |
@@ -1528,7 +1528,7 @@ struct mem_ctl_info * edac_mc_del_mc(struct pci_dev *pdev) | |||
1528 | mci->mod_name, mci->ctl_name, pci_name(mci->pdev)); | 1528 | mci->mod_name, mci->ctl_name, pci_name(mci->pdev)); |
1529 | return mci; | 1529 | return mci; |
1530 | } | 1530 | } |
1531 | EXPORT_SYMBOL(edac_mc_del_mc); | 1531 | EXPORT_SYMBOL_GPL(edac_mc_del_mc); |
1532 | 1532 | ||
1533 | void edac_mc_scrub_block(unsigned long page, unsigned long offset, u32 size) | 1533 | void edac_mc_scrub_block(unsigned long page, unsigned long offset, u32 size) |
1534 | { | 1534 | { |
@@ -1559,7 +1559,7 @@ void edac_mc_scrub_block(unsigned long page, unsigned long offset, u32 size) | |||
1559 | if (PageHighMem(pg)) | 1559 | if (PageHighMem(pg)) |
1560 | local_irq_restore(flags); | 1560 | local_irq_restore(flags); |
1561 | } | 1561 | } |
1562 | EXPORT_SYMBOL(edac_mc_scrub_block); | 1562 | EXPORT_SYMBOL_GPL(edac_mc_scrub_block); |
1563 | 1563 | ||
1564 | /* FIXME - should return -1 */ | 1564 | /* FIXME - should return -1 */ |
1565 | int edac_mc_find_csrow_by_page(struct mem_ctl_info *mci, unsigned long page) | 1565 | int edac_mc_find_csrow_by_page(struct mem_ctl_info *mci, unsigned long page) |
@@ -1597,7 +1597,7 @@ int edac_mc_find_csrow_by_page(struct mem_ctl_info *mci, unsigned long page) | |||
1597 | 1597 | ||
1598 | return row; | 1598 | return row; |
1599 | } | 1599 | } |
1600 | EXPORT_SYMBOL(edac_mc_find_csrow_by_page); | 1600 | EXPORT_SYMBOL_GPL(edac_mc_find_csrow_by_page); |
1601 | 1601 | ||
1602 | /* FIXME - setable log (warning/emerg) levels */ | 1602 | /* FIXME - setable log (warning/emerg) levels */ |
1603 | /* FIXME - integrate with evlog: http://evlog.sourceforge.net/ */ | 1603 | /* FIXME - integrate with evlog: http://evlog.sourceforge.net/ */ |
@@ -1660,7 +1660,7 @@ void edac_mc_handle_ce(struct mem_ctl_info *mci, | |||
1660 | mci->csrows[row].grain); | 1660 | mci->csrows[row].grain); |
1661 | } | 1661 | } |
1662 | } | 1662 | } |
1663 | EXPORT_SYMBOL(edac_mc_handle_ce); | 1663 | EXPORT_SYMBOL_GPL(edac_mc_handle_ce); |
1664 | 1664 | ||
1665 | void edac_mc_handle_ce_no_info(struct mem_ctl_info *mci, const char *msg) | 1665 | void edac_mc_handle_ce_no_info(struct mem_ctl_info *mci, const char *msg) |
1666 | { | 1666 | { |
@@ -1671,7 +1671,7 @@ void edac_mc_handle_ce_no_info(struct mem_ctl_info *mci, const char *msg) | |||
1671 | mci->ce_noinfo_count++; | 1671 | mci->ce_noinfo_count++; |
1672 | mci->ce_count++; | 1672 | mci->ce_count++; |
1673 | } | 1673 | } |
1674 | EXPORT_SYMBOL(edac_mc_handle_ce_no_info); | 1674 | EXPORT_SYMBOL_GPL(edac_mc_handle_ce_no_info); |
1675 | 1675 | ||
1676 | void edac_mc_handle_ue(struct mem_ctl_info *mci, | 1676 | void edac_mc_handle_ue(struct mem_ctl_info *mci, |
1677 | unsigned long page_frame_number, unsigned long offset_in_page, | 1677 | unsigned long page_frame_number, unsigned long offset_in_page, |
@@ -1724,7 +1724,7 @@ void edac_mc_handle_ue(struct mem_ctl_info *mci, | |||
1724 | mci->ue_count++; | 1724 | mci->ue_count++; |
1725 | mci->csrows[row].ue_count++; | 1725 | mci->csrows[row].ue_count++; |
1726 | } | 1726 | } |
1727 | EXPORT_SYMBOL(edac_mc_handle_ue); | 1727 | EXPORT_SYMBOL_GPL(edac_mc_handle_ue); |
1728 | 1728 | ||
1729 | void edac_mc_handle_ue_no_info(struct mem_ctl_info *mci, const char *msg) | 1729 | void edac_mc_handle_ue_no_info(struct mem_ctl_info *mci, const char *msg) |
1730 | { | 1730 | { |
@@ -1737,7 +1737,7 @@ void edac_mc_handle_ue_no_info(struct mem_ctl_info *mci, const char *msg) | |||
1737 | mci->ue_noinfo_count++; | 1737 | mci->ue_noinfo_count++; |
1738 | mci->ue_count++; | 1738 | mci->ue_count++; |
1739 | } | 1739 | } |
1740 | EXPORT_SYMBOL(edac_mc_handle_ue_no_info); | 1740 | EXPORT_SYMBOL_GPL(edac_mc_handle_ue_no_info); |
1741 | 1741 | ||
1742 | #ifdef CONFIG_PCI | 1742 | #ifdef CONFIG_PCI |
1743 | 1743 | ||