edac: rename edac_core.h to edac_mc.h
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Sat, 29 Oct 2016 17:16:34 +0000 (15:16 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 15 Dec 2016 10:54:51 +0000 (08:54 -0200)
Now, all left at edac_core.h are at drivers/edac/edac_mc.c,
so rename it to edac_mc.h.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
47 files changed:
drivers/edac/altera_edac.c
drivers/edac/amd64_edac.h
drivers/edac/amd76x_edac.c
drivers/edac/amd8111_edac.c
drivers/edac/amd8131_edac.c
drivers/edac/cell_edac.c
drivers/edac/cpc925_edac.c
drivers/edac/e752x_edac.c
drivers/edac/e7xxx_edac.c
drivers/edac/edac_core.h [deleted file]
drivers/edac/edac_mc.c
drivers/edac/edac_mc.h [new file with mode: 0644]
drivers/edac/edac_mc_sysfs.c
drivers/edac/edac_module.c
drivers/edac/edac_module.h
drivers/edac/fsl_ddr_edac.c
drivers/edac/ghes_edac.c
drivers/edac/highbank_l2_edac.c
drivers/edac/highbank_mc_edac.c
drivers/edac/i3000_edac.c
drivers/edac/i3200_edac.c
drivers/edac/i5000_edac.c
drivers/edac/i5100_edac.c
drivers/edac/i5400_edac.c
drivers/edac/i7300_edac.c
drivers/edac/i7core_edac.c
drivers/edac/i82443bxgx_edac.c
drivers/edac/i82860_edac.c
drivers/edac/i82875p_edac.c
drivers/edac/i82975x_edac.c
drivers/edac/ie31200_edac.c
drivers/edac/layerscape_edac.c
drivers/edac/mpc85xx_edac.c
drivers/edac/mv64x60_edac.c
drivers/edac/octeon_edac-l2c.c
drivers/edac/octeon_edac-lmc.c
drivers/edac/octeon_edac-pc.c
drivers/edac/octeon_edac-pci.c
drivers/edac/pasemi_edac.c
drivers/edac/ppc4xx_edac.c
drivers/edac/r82600_edac.c
drivers/edac/sb_edac.c
drivers/edac/skx_edac.c
drivers/edac/synopsys_edac.c
drivers/edac/tile_edac.c
drivers/edac/x38_edac.c
drivers/edac/xgene_edac.c

index 6421cc3c7dc1344a22cdaa6ed929e2aa940d0211..c5a5b91f37f0b67499af386ed4e7031d4938ac94 100644 (file)
@@ -35,7 +35,6 @@
 #include <linux/uaccess.h>
 
 #include "altera_edac.h"
-#include "edac_core.h"
 #include "edac_module.h"
 
 #define EDAC_MOD_STR           "altera_edac"
index f14c24d5b1405b9445e2b7c8c4d2de9fdbe89687..496603d8f3d20f9e315fb4d99b66a762cf941856 100644 (file)
@@ -17,7 +17,7 @@
 #include <linux/mmzone.h>
 #include <linux/edac.h>
 #include <asm/msr.h>
-#include "edac_core.h"
+#include "edac_module.h"
 #include "mce_amd.h"
 
 #define amd64_debug(fmt, arg...) \
index 3a501b530e11347c8b3d918b470b255464e42dab..a7450275ad284a5a82f3983455a085e4c57ba958 100644 (file)
@@ -17,7 +17,7 @@
 #include <linux/pci.h>
 #include <linux/pci_ids.h>
 #include <linux/edac.h>
-#include "edac_core.h"
+#include "edac_module.h"
 
 #define AMD76X_REVISION        " Ver: 2.0.2"
 #define EDAC_MOD_STR   "amd76x_edac"
index 2b63f7c2d6d217d91c32591d2329e448797b37b5..b5786cfded3a787e7f6fc6838e287f3c46127a5b 100644 (file)
@@ -29,7 +29,6 @@
 #include <linux/pci_ids.h>
 #include <asm/io.h>
 
-#include "edac_core.h"
 #include "edac_module.h"
 #include "amd8111_edac.h"
 
index a5c680561c73f6ec33bbe73b0059d055d4f41574..8851c33d7d246ee132b55cf406f6f8c2b9305d99 100644 (file)
@@ -29,7 +29,6 @@
 #include <linux/edac.h>
 #include <linux/pci_ids.h>
 
-#include "edac_core.h"
 #include "edac_module.h"
 #include "amd8131_edac.h"
 
index a9259b069dcdb60f714bc7414ac32110a3a77974..bc1f3416400e755d4f6b7e4524a60b66171dac35 100644 (file)
@@ -19,7 +19,7 @@
 #include <asm/machdep.h>
 #include <asm/cell-regs.h>
 
-#include "edac_core.h"
+#include "edac_module.h"
 
 struct cell_edac_priv
 {
index 682288ced4acb23337899f97cbc8b3542556eb65..837b62c4993df8c6bdc5d314cae8dd3e2af7082d 100644 (file)
@@ -27,7 +27,6 @@
 #include <linux/platform_device.h>
 #include <linux/gfp.h>
 
-#include "edac_core.h"
 #include "edac_module.h"
 
 #define CPC925_EDAC_REVISION   " Ver: 1.0.0"
index b2d71388172bc4082cff91483a4cc23ca1b85c4b..1a352cae1f52369e2789ca7381962f066df2b3e4 100644 (file)
@@ -24,7 +24,7 @@
 #include <linux/pci.h>
 #include <linux/pci_ids.h>
 #include <linux/edac.h>
-#include "edac_core.h"
+#include "edac_module.h"
 
 #define E752X_REVISION " Ver: 2.0.2"
 #define EDAC_MOD_STR   "e752x_edac"
index ece3aef16bb18e135aaa533fd32a298b8b1aa0a3..67ef07aed92308dc105de7ab01455ffa0e263292 100644 (file)
@@ -30,7 +30,7 @@
 #include <linux/pci.h>
 #include <linux/pci_ids.h>
 #include <linux/edac.h>
-#include "edac_core.h"
+#include "edac_module.h"
 
 #define        E7XXX_REVISION " Ver: 2.0.2"
 #define        EDAC_MOD_STR    "e7xxx_edac"
diff --git a/drivers/edac/edac_core.h b/drivers/edac/edac_core.h
deleted file mode 100644 (file)
index 3e11d9d..0000000
+++ /dev/null
@@ -1,134 +0,0 @@
-/*
- * Defines, structures, APIs for edac_core module
- *
- * (C) 2007 Linux Networx (http://lnxi.com)
- * This file may be distributed under the terms of the
- * GNU General Public License.
- *
- * Written by Thayne Harbaugh
- * Based on work by Dan Hollis <goemon at anime dot net> and others.
- *     http://www.anime.net/~goemon/linux-ecc/
- *
- * NMI handling support added by
- *     Dave Peterson <dsp@llnl.gov> <dave_peterson@pobox.com>
- *
- * Refactored for multi-source files:
- *     Doug Thompson <norsk5@xmission.com>
- *
- */
-
-#ifndef _EDAC_CORE_H_
-#define _EDAC_CORE_H_
-
-#include <linux/kernel.h>
-#include <linux/types.h>
-#include <linux/module.h>
-#include <linux/spinlock.h>
-#include <linux/smp.h>
-#include <linux/pci.h>
-#include <linux/time.h>
-#include <linux/nmi.h>
-#include <linux/rcupdate.h>
-#include <linux/completion.h>
-#include <linux/kobject.h>
-#include <linux/platform_device.h>
-#include <linux/workqueue.h>
-#include <linux/edac.h>
-
-#include "edac_pci.h"
-#include "edac_device.h"
-
-#if PAGE_SHIFT < 20
-#define PAGES_TO_MiB(pages)    ((pages) >> (20 - PAGE_SHIFT))
-#define MiB_TO_PAGES(mb)       ((mb) << (20 - PAGE_SHIFT))
-#else                          /* PAGE_SHIFT > 20 */
-#define PAGES_TO_MiB(pages)    ((pages) << (PAGE_SHIFT - 20))
-#define MiB_TO_PAGES(mb)       ((mb) >> (PAGE_SHIFT - 20))
-#endif
-
-#define edac_printk(level, prefix, fmt, arg...) \
-       printk(level "EDAC " prefix ": " fmt, ##arg)
-
-#define edac_mc_printk(mci, level, fmt, arg...) \
-       printk(level "EDAC MC%d: " fmt, mci->mc_idx, ##arg)
-
-#define edac_mc_chipset_printk(mci, level, prefix, fmt, arg...) \
-       printk(level "EDAC " prefix " MC%d: " fmt, mci->mc_idx, ##arg)
-
-#define edac_device_printk(ctl, level, fmt, arg...) \
-       printk(level "EDAC DEVICE%d: " fmt, ctl->dev_idx, ##arg)
-
-#define edac_pci_printk(ctl, level, fmt, arg...) \
-       printk(level "EDAC PCI%d: " fmt, ctl->pci_idx, ##arg)
-
-/* prefixes for edac_printk() and edac_mc_printk() */
-#define EDAC_MC "MC"
-#define EDAC_PCI "PCI"
-#define EDAC_DEBUG "DEBUG"
-
-extern const char * const edac_mem_types[];
-
-#ifdef CONFIG_EDAC_DEBUG
-extern int edac_debug_level;
-
-#define edac_dbg(level, fmt, ...)                                      \
-do {                                                                   \
-       if (level <= edac_debug_level)                                  \
-               edac_printk(KERN_DEBUG, EDAC_DEBUG,                     \
-                           "%s: " fmt, __func__, ##__VA_ARGS__);       \
-} while (0)
-
-#else                          /* !CONFIG_EDAC_DEBUG */
-
-#define edac_dbg(level, fmt, ...)                                      \
-do {                                                                   \
-       if (0)                                                          \
-               edac_printk(KERN_DEBUG, EDAC_DEBUG,                     \
-                           "%s: " fmt, __func__, ##__VA_ARGS__);       \
-} while (0)
-
-#endif                         /* !CONFIG_EDAC_DEBUG */
-
-#define PCI_VEND_DEV(vend, dev) PCI_VENDOR_ID_ ## vend, \
-       PCI_DEVICE_ID_ ## vend ## _ ## dev
-
-#define edac_dev_name(dev) (dev)->dev_name
-
-#define to_mci(k) container_of(k, struct mem_ctl_info, dev)
-
-struct mem_ctl_info *edac_mc_alloc(unsigned mc_num,
-                                  unsigned n_layers,
-                                  struct edac_mc_layer *layers,
-                                  unsigned sz_pvt);
-extern int edac_mc_add_mc_with_groups(struct mem_ctl_info *mci,
-                                     const struct attribute_group **groups);
-#define edac_mc_add_mc(mci)    edac_mc_add_mc_with_groups(mci, NULL)
-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);
-
-void edac_raw_mc_handle_error(const enum hw_event_mc_err_type type,
-                             struct mem_ctl_info *mci,
-                             struct edac_raw_error_desc *e);
-
-void edac_mc_handle_error(const enum hw_event_mc_err_type type,
-                         struct mem_ctl_info *mci,
-                         const u16 error_count,
-                         const unsigned long page_frame_number,
-                         const unsigned long offset_in_page,
-                         const unsigned long syndrome,
-                         const int top_layer,
-                         const int mid_layer,
-                         const int low_layer,
-                         const char *msg,
-                         const char *other_detail);
-
-/*
- * edac misc APIs
- */
-extern char *edac_op_state_to_string(int op_state);
-
-#endif                         /* _EDAC_CORE_H_ */
index d2ea9c4f1824280177fc52ad99d9010e69666515..4ff5116a90a5d201bbd439db990e3ecaeb9434c0 100644 (file)
@@ -30,7 +30,7 @@
 #include <linux/bitops.h>
 #include <asm/uaccess.h>
 #include <asm/page.h>
-#include "edac_core.h"
+#include "edac_mc.h"
 #include "edac_module.h"
 #include <ras/ras_event.h>
 
diff --git a/drivers/edac/edac_mc.h b/drivers/edac/edac_mc.h
new file mode 100644 (file)
index 0000000..b62d9ba
--- /dev/null
@@ -0,0 +1,131 @@
+/*
+ * Defines, structures, APIs for edac_mc module
+ *
+ * (C) 2007 Linux Networx (http://lnxi.com)
+ * This file may be distributed under the terms of the
+ * GNU General Public License.
+ *
+ * Written by Thayne Harbaugh
+ * Based on work by Dan Hollis <goemon at anime dot net> and others.
+ *     http://www.anime.net/~goemon/linux-ecc/
+ *
+ * NMI handling support added by
+ *     Dave Peterson <dsp@llnl.gov> <dave_peterson@pobox.com>
+ *
+ * Refactored for multi-source files:
+ *     Doug Thompson <norsk5@xmission.com>
+ *
+ */
+
+#ifndef _EDAC_MC_H_
+#define _EDAC_MC_H_
+
+#include <linux/kernel.h>
+#include <linux/types.h>
+#include <linux/module.h>
+#include <linux/spinlock.h>
+#include <linux/smp.h>
+#include <linux/pci.h>
+#include <linux/time.h>
+#include <linux/nmi.h>
+#include <linux/rcupdate.h>
+#include <linux/completion.h>
+#include <linux/kobject.h>
+#include <linux/platform_device.h>
+#include <linux/workqueue.h>
+#include <linux/edac.h>
+
+#if PAGE_SHIFT < 20
+#define PAGES_TO_MiB(pages)    ((pages) >> (20 - PAGE_SHIFT))
+#define MiB_TO_PAGES(mb)       ((mb) << (20 - PAGE_SHIFT))
+#else                          /* PAGE_SHIFT > 20 */
+#define PAGES_TO_MiB(pages)    ((pages) << (PAGE_SHIFT - 20))
+#define MiB_TO_PAGES(mb)       ((mb) >> (PAGE_SHIFT - 20))
+#endif
+
+#define edac_printk(level, prefix, fmt, arg...) \
+       printk(level "EDAC " prefix ": " fmt, ##arg)
+
+#define edac_mc_printk(mci, level, fmt, arg...) \
+       printk(level "EDAC MC%d: " fmt, mci->mc_idx, ##arg)
+
+#define edac_mc_chipset_printk(mci, level, prefix, fmt, arg...) \
+       printk(level "EDAC " prefix " MC%d: " fmt, mci->mc_idx, ##arg)
+
+#define edac_device_printk(ctl, level, fmt, arg...) \
+       printk(level "EDAC DEVICE%d: " fmt, ctl->dev_idx, ##arg)
+
+#define edac_pci_printk(ctl, level, fmt, arg...) \
+       printk(level "EDAC PCI%d: " fmt, ctl->pci_idx, ##arg)
+
+/* prefixes for edac_printk() and edac_mc_printk() */
+#define EDAC_MC "MC"
+#define EDAC_PCI "PCI"
+#define EDAC_DEBUG "DEBUG"
+
+extern const char * const edac_mem_types[];
+
+#ifdef CONFIG_EDAC_DEBUG
+extern int edac_debug_level;
+
+#define edac_dbg(level, fmt, ...)                                      \
+do {                                                                   \
+       if (level <= edac_debug_level)                                  \
+               edac_printk(KERN_DEBUG, EDAC_DEBUG,                     \
+                           "%s: " fmt, __func__, ##__VA_ARGS__);       \
+} while (0)
+
+#else                          /* !CONFIG_EDAC_DEBUG */
+
+#define edac_dbg(level, fmt, ...)                                      \
+do {                                                                   \
+       if (0)                                                          \
+               edac_printk(KERN_DEBUG, EDAC_DEBUG,                     \
+                           "%s: " fmt, __func__, ##__VA_ARGS__);       \
+} while (0)
+
+#endif                         /* !CONFIG_EDAC_DEBUG */
+
+#define PCI_VEND_DEV(vend, dev) PCI_VENDOR_ID_ ## vend, \
+       PCI_DEVICE_ID_ ## vend ## _ ## dev
+
+#define edac_dev_name(dev) (dev)->dev_name
+
+#define to_mci(k) container_of(k, struct mem_ctl_info, dev)
+
+struct mem_ctl_info *edac_mc_alloc(unsigned mc_num,
+                                  unsigned n_layers,
+                                  struct edac_mc_layer *layers,
+                                  unsigned sz_pvt);
+extern int edac_mc_add_mc_with_groups(struct mem_ctl_info *mci,
+                                     const struct attribute_group **groups);
+#define edac_mc_add_mc(mci)    edac_mc_add_mc_with_groups(mci, NULL)
+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);
+
+void edac_raw_mc_handle_error(const enum hw_event_mc_err_type type,
+                             struct mem_ctl_info *mci,
+                             struct edac_raw_error_desc *e);
+
+void edac_mc_handle_error(const enum hw_event_mc_err_type type,
+                         struct mem_ctl_info *mci,
+                         const u16 error_count,
+                         const unsigned long page_frame_number,
+                         const unsigned long offset_in_page,
+                         const unsigned long syndrome,
+                         const int top_layer,
+                         const int mid_layer,
+                         const int low_layer,
+                         const char *msg,
+                         const char *other_detail);
+
+/*
+ * edac misc APIs
+ */
+extern char *edac_op_state_to_string(int op_state);
+
+#endif                         /* _EDAC_MC_H_ */
index 4e0f8e720ad9a8bf37280d8063330508bee141d2..39dbab7d62f150b7dd53a0657bb8beb3622bd762 100644 (file)
@@ -19,7 +19,7 @@
 #include <linux/pm_runtime.h>
 #include <linux/uaccess.h>
 
-#include "edac_core.h"
+#include "edac_mc.h"
 #include "edac_module.h"
 
 /* MC EDAC Controls, setable by module parameter, and sysfs */
index 5f8543be995ab6584ffe479558133de016649194..172598a27d7d9df8f83dcd37ae6bf0706df8d53a 100644 (file)
@@ -12,7 +12,7 @@
  */
 #include <linux/edac.h>
 
-#include "edac_core.h"
+#include "edac_mc.h"
 #include "edac_module.h"
 
 #define EDAC_VERSION "Ver: 3.0.0"
index cfaacb99c97322cab89e27576797505fae75b628..014871e169ccf2b9ee98824d0172713ffc1ab454 100644 (file)
@@ -10,7 +10,9 @@
 #ifndef        __EDAC_MODULE_H__
 #define        __EDAC_MODULE_H__
 
-#include "edac_core.h"
+#include "edac_mc.h"
+#include "edac_pci.h"
+#include "edac_device.h"
 
 /*
  * INTERNAL EDAC MODULE:
index 9774f52f0c3ee63180e33d7543c2394829ed6906..4e9608a958e78a998ac7b858b857e0c13a98e4fb 100644 (file)
@@ -28,7 +28,6 @@
 #include <linux/of_device.h>
 #include <linux/of_address.h>
 #include "edac_module.h"
-#include "edac_core.h"
 #include "fsl_ddr_edac.h"
 
 #define EDAC_MOD_STR   "fsl_ddr_edac"
index e3fa4390f8460685c0bd57fe8d52c9c043de719f..4e61a6229dd20b4671cc3dfe994676541a4a61e2 100644 (file)
@@ -14,7 +14,7 @@
 #include <acpi/ghes.h>
 #include <linux/edac.h>
 #include <linux/dmi.h>
-#include "edac_core.h"
+#include "edac_module.h"
 #include <ras/ras_event.h>
 
 #define GHES_EDAC_REVISION " Ver: 1.0.0"
index 2f193668ebc75b7a75d4eb9ceebaa5f89a1eaba8..cd9a2bb7c548799d73102ea826be271f487454c7 100644 (file)
@@ -21,7 +21,6 @@
 #include <linux/platform_device.h>
 #include <linux/of_platform.h>
 
-#include "edac_core.h"
 #include "edac_module.h"
 
 #define SR_CLR_SB_ECC_INTR     0x0
index 11260cc3360e44b8105f0351fd198026d205c685..0e7e0a404d892a479b6020dd2d18bf7f9f95dce9 100644 (file)
@@ -22,7 +22,6 @@
 #include <linux/of_platform.h>
 #include <linux/uaccess.h>
 
-#include "edac_core.h"
 #include "edac_module.h"
 
 /* DDR Ctrlr Error Registers */
index 5cb36a6022cc9eb31725343d0e712759d827dcf5..5306240570d7d9cf9d2df4b0c2f412d4d4896059 100644 (file)
@@ -14,7 +14,7 @@
 #include <linux/pci.h>
 #include <linux/pci_ids.h>
 #include <linux/edac.h>
-#include "edac_core.h"
+#include "edac_module.h"
 
 #define I3000_REVISION         "1.1"
 
index 1f453382258a9993b577df8b46671917ad2f1b5f..77c58d201a30d00891fc87095293f1da73515429 100644 (file)
@@ -13,7 +13,7 @@
 #include <linux/pci_ids.h>
 #include <linux/edac.h>
 #include <linux/io.h>
-#include "edac_core.h"
+#include "edac_module.h"
 
 #include <linux/io-64-nonatomic-lo-hi.h>
 
index 72e07e3cf718fb760c62cda09023b199857bcb13..1670d27bcac82d51cbb3de30d75e261100ddb83e 100644 (file)
@@ -22,7 +22,7 @@
 #include <linux/edac.h>
 #include <asm/mmzone.h>
 
-#include "edac_core.h"
+#include "edac_module.h"
 
 /*
  * Alter this version for the I5000 module when modifications are made
index c655162caf08fe4a9f08dfe161a31543b6b9b1d5..a8334c4acea71b68342d18b122853aa37943166b 100644 (file)
@@ -29,7 +29,6 @@
 #include <linux/mmzone.h>
 #include <linux/debugfs.h>
 
-#include "edac_core.h"
 #include "edac_module.h"
 
 /* register addresses */
index 6ef6ad1ba16ef3351217074f2ba63316a07276e4..abf6ef22e220602f48559504ec18e77c5115de5b 100644 (file)
@@ -32,7 +32,7 @@
 #include <linux/edac.h>
 #include <linux/mmzone.h>
 
-#include "edac_core.h"
+#include "edac_module.h"
 
 /*
  * Alter this version for the I5400 module when modifications are made
index dcac982fdc7a153fe89191f44c038b5a9da72151..0a912bf6de005f53e4484a5bfaf327f4b8cc2322 100644 (file)
@@ -26,7 +26,7 @@
 #include <linux/edac.h>
 #include <linux/mmzone.h>
 
-#include "edac_core.h"
+#include "edac_module.h"
 
 /*
  * Alter this version for the I7300 module when modifications are made
index 8a68a5e943ea337b23efc3662f5a01848d0b1a8b..69b5adead0ad63e1ff5ea89a589715c5921f3c49 100644 (file)
@@ -39,7 +39,7 @@
 #include <asm/processor.h>
 #include <asm/div64.h>
 
-#include "edac_core.h"
+#include "edac_module.h"
 
 /* Static vars */
 static LIST_HEAD(i7core_edac_list);
index 4d4110364f021cc77dc699d2384a60ce88067b40..cb61a5b7d0807e6af46f3461dbbe80bcb1a86ee6 100644 (file)
@@ -29,7 +29,7 @@
 
 
 #include <linux/edac.h>
-#include "edac_core.h"
+#include "edac_module.h"
 
 #define I82443_REVISION        "0.1"
 
index ee1078cd3b966a1b473ca76b164947177cd9fdbc..236c813227fcec58e0a259b4b28c339499ec0ea3 100644 (file)
@@ -14,7 +14,7 @@
 #include <linux/pci.h>
 #include <linux/pci_ids.h>
 #include <linux/edac.h>
-#include "edac_core.h"
+#include "edac_module.h"
 
 #define  I82860_REVISION " Ver: 2.0.2"
 #define EDAC_MOD_STR   "i82860_edac"
index c26a513f88697bf690f34e66ada74ec091ac764d..e286b7e74c7a0a5fb04ffb0eb9ff473cf0615057 100644 (file)
@@ -18,7 +18,7 @@
 #include <linux/pci.h>
 #include <linux/pci_ids.h>
 #include <linux/edac.h>
-#include "edac_core.h"
+#include "edac_module.h"
 
 #define I82875P_REVISION       " Ver: 2.0.2"
 #define EDAC_MOD_STR           "i82875p_edac"
index 35ab66c623a3061e4ab03de7221b4852fbd59f63..7baa8ace267bb3350f93a4ba8b1eca91537183e8 100644 (file)
@@ -14,7 +14,7 @@
 #include <linux/pci.h>
 #include <linux/pci_ids.h>
 #include <linux/edac.h>
-#include "edac_core.h"
+#include "edac_module.h"
 
 #define I82975X_REVISION       " Ver: 1.0.0"
 #define EDAC_MOD_STR           "i82975x_edac"
index 1c88d97074951bed2022f780ce2cf2f03d7539cb..2733fb5938a4225bce099f437c60dbbe24b867a3 100644 (file)
@@ -41,7 +41,7 @@
 #include <linux/edac.h>
 
 #include <linux/io-64-nonatomic-lo-hi.h>
-#include "edac_core.h"
+#include "edac_module.h"
 
 #define IE31200_REVISION "1.0"
 #define EDAC_MOD_STR "ie31200_edac"
index 6c59d897ad121927bafd19a2d8b0931cf7e4b28f..94cac7686a56d46ed46b30f915f42d7d8029513a 100644 (file)
@@ -16,7 +16,7 @@
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 
-#include "edac_core.h"
+#include "edac_module.h"
 #include "fsl_ddr_edac.h"
 
 static const struct of_device_id fsl_ddr_mc_err_of_match[] = {
index c62602141f956a6d4afc25bb0714dd82c4b0475c..8f66cbed70b75b97bdf0492f1f0b0599911649a1 100644 (file)
@@ -25,7 +25,6 @@
 #include <linux/of_platform.h>
 #include <linux/of_device.h>
 #include "edac_module.h"
-#include "edac_core.h"
 #include "mpc85xx_edac.h"
 #include "fsl_ddr_edac.h"
 
index cb9b8577acbcc04cd5880f2cc13b398db2814a4a..14b7e7b71eaa2fd8e9bb0488a90a702d7201a259 100644 (file)
@@ -17,7 +17,6 @@
 #include <linux/edac.h>
 #include <linux/gfp.h>
 
-#include "edac_core.h"
 #include "edac_module.h"
 #include "mv64x60_edac.h"
 
index afea7fc625ccb30bec2c3f69e1dadf1b74dadac2..c33059e9b0be2c728a68d5581d32e9fa4a086f20 100644 (file)
@@ -16,7 +16,6 @@
 
 #include <asm/octeon/cvmx.h>
 
-#include "edac_core.h"
 #include "edac_module.h"
 
 #define EDAC_MOD_STR "octeon-l2c"
index cda6dab5067a57709393fad7913a2e76a531a23b..9c1ffe3e912bfb266e8f94802b67865bf6d60499 100644 (file)
@@ -19,7 +19,6 @@
 #include <asm/octeon/octeon.h>
 #include <asm/octeon/cvmx-lmcx-defs.h>
 
-#include "edac_core.h"
 #include "edac_module.h"
 
 #define OCTEON_MAX_MC 4
index 2ab6cf24c9598f0be36dba02cb6f024495e667da..754eced59c32b9f639774d3add93664f89b0d717 100644 (file)
@@ -15,7 +15,6 @@
 #include <linux/io.h>
 #include <linux/edac.h>
 
-#include "edac_core.h"
 #include "edac_module.h"
 
 #include <asm/octeon/cvmx.h>
index 9ca73cec74e75a7d4476d3f387ccfb7a022dc1a0..28b238eecefcc9da7496d395b908eb3b09c0707c 100644 (file)
@@ -18,7 +18,6 @@
 #include <asm/octeon/cvmx-pci-defs.h>
 #include <asm/octeon/octeon.h>
 
-#include "edac_core.h"
 #include "edac_module.h"
 
 static void octeon_pci_poll(struct edac_pci_ctl_info *pci)
index 9c971b57553022ec7857ae6b1ca41c03bc551584..199f2c80480dc05ac15cb5888bc73fddc87e7355 100644 (file)
@@ -26,7 +26,7 @@
 #include <linux/pci.h>
 #include <linux/pci_ids.h>
 #include <linux/edac.h>
-#include "edac_core.h"
+#include "edac_module.h"
 
 #define MODULE_NAME "pasemi_edac"
 
index 691ce25e9010566b11e8876927d8d231c6cd958b..e55e925901061848739f2471b4408c0a48a32fc3 100644 (file)
@@ -21,7 +21,7 @@
 
 #include <asm/dcr.h>
 
-#include "edac_core.h"
+#include "edac_module.h"
 #include "ppc4xx_edac.h"
 
 /*
index 8f936bc7a010cb448b9e99c1a675eed6347f9ccd..978916625cedd6c365b72416544e7644503883f1 100644 (file)
@@ -20,7 +20,7 @@
 #include <linux/pci.h>
 #include <linux/pci_ids.h>
 #include <linux/edac.h>
-#include "edac_core.h"
+#include "edac_module.h"
 
 #define R82600_REVISION        " Ver: 2.0.2"
 #define EDAC_MOD_STR   "r82600_edac"
index c1ad0eb7d5dde61706d7b54559a5fd7c7786c03e..54ae6dc45ab2216343b0c542765537889332a0fb 100644 (file)
@@ -27,7 +27,7 @@
 #include <asm/processor.h>
 #include <asm/mce.h>
 
-#include "edac_core.h"
+#include "edac_module.h"
 
 /* Static vars */
 static LIST_HEAD(sbridge_edac_list);
index 9edcb29b30017eeb73dee5aee51a99f328b6ae05..79ef675e4d6f0525478d9980477e6a42c18d5b33 100644 (file)
@@ -29,7 +29,7 @@
 #include <asm/processor.h>
 #include <asm/mce.h>
 
-#include "edac_core.h"
+#include "edac_module.h"
 
 #define SKX_REVISION    " Ver: 1.0 "
 
index fc153aea2f6cff1ce6b5043c11d4e16f24176ae0..1c01dec78ec392346750a63d456566c9695b30f8 100644 (file)
@@ -23,7 +23,7 @@
 #include <linux/module.h>
 #include <linux/platform_device.h>
 
-#include "edac_core.h"
+#include "edac_module.h"
 
 /* Number of cs_rows needed per memory controller */
 #define SYNPS_EDAC_NR_CSROWS   1
index 71381642ce2a6be9cdb1706e89c444bb827a9ef5..8a33a87e67f13a1d3a5ca4c3e36d069d16067fbe 100644 (file)
@@ -30,7 +30,7 @@
 #include <hv/hypervisor.h>
 #include <hv/drv_mshim_intf.h>
 
-#include "edac_core.h"
+#include "edac_module.h"
 
 #define DRV_NAME       "tile-edac"
 
index 314cf5cf268ce80ab6d9aad480e9ba7aa6f0fccf..03c97a4bf5906370b76becd6f01344d8a259b259 100644 (file)
@@ -16,7 +16,7 @@
 #include <linux/edac.h>
 
 #include <linux/io-64-nonatomic-lo-hi.h>
-#include "edac_core.h"
+#include "edac_module.h"
 
 #define X38_REVISION           "1.1"
 
index 5569391ea8007f877a4155bd26aad96b5455ef0b..6c270d9d304a8eafb7464f576fdff119cb4cf27a 100644 (file)
@@ -28,7 +28,6 @@
 #include <linux/of_address.h>
 #include <linux/regmap.h>
 
-#include "edac_core.h"
 #include "edac_module.h"
 
 #define EDAC_MOD_STR                   "xgene_edac"