Commit 20bcb7a8 authored by Douglas Thompson's avatar Douglas Thompson Committed by Linus Torvalds

drivers/edac: mod use edac_core.h

In the refactoring of edac_mc.c into several subsystem files,
the header file edac_mc.h became meaningless. A new header file
edac_core.h was created. All the files that previously included
"edac_mc.h" are changed to include "edac_core.h".
Signed-off-by: default avatarDouglas Thompson <dougthompson@xmission.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent c0d12172
...@@ -17,9 +17,9 @@ ...@@ -17,9 +17,9 @@
#include <linux/pci.h> #include <linux/pci.h>
#include <linux/pci_ids.h> #include <linux/pci_ids.h>
#include <linux/slab.h> #include <linux/slab.h>
#include "edac_mc.h" #include "edac_core.h"
#define AMD76X_REVISION " Ver: 2.0.1 " __DATE__ #define AMD76X_REVISION " Ver: 2.0.2 " __DATE__
#define EDAC_MOD_STR "amd76x_edac" #define EDAC_MOD_STR "amd76x_edac"
#define amd76x_printk(level, fmt, arg...) \ #define amd76x_printk(level, fmt, arg...) \
......
...@@ -23,9 +23,9 @@ ...@@ -23,9 +23,9 @@
#include <linux/pci_ids.h> #include <linux/pci_ids.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/edac.h> #include <linux/edac.h>
#include "edac_mc.h" #include "edac_core.h"
#define E752X_REVISION " Ver: 2.0.1 " __DATE__ #define E752X_REVISION " Ver: 2.0.2 " __DATE__
#define EDAC_MOD_STR "e752x_edac" #define EDAC_MOD_STR "e752x_edac"
static int force_function_unhide; static int force_function_unhide;
......
...@@ -28,9 +28,9 @@ ...@@ -28,9 +28,9 @@
#include <linux/pci_ids.h> #include <linux/pci_ids.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/edac.h> #include <linux/edac.h>
#include "edac_mc.h" #include "edac_core.h"
#define E7XXX_REVISION " Ver: 2.0.1 " __DATE__ #define E7XXX_REVISION " Ver: 2.0.2 " __DATE__
#define EDAC_MOD_STR "e7xxx_edac" #define EDAC_MOD_STR "e7xxx_edac"
#define e7xxx_printk(level, fmt, arg...) \ #define e7xxx_printk(level, fmt, arg...) \
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <asm/page.h> #include <asm/page.h>
#include <asm/edac.h> #include <asm/edac.h>
#include "edac_mc.h" #include "edac_core.h"
#include "edac_module.h" #include "edac_module.h"
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
#include <linux/sysdev.h> #include <linux/sysdev.h>
#include <linux/ctype.h> #include <linux/ctype.h>
#include "edac_mc.h" #include "edac_core.h"
#include "edac_module.h" #include "edac_module.h"
/* MC EDAC Controls, setable by module parameter, and sysfs */ /* MC EDAC Controls, setable by module parameter, and sysfs */
......
...@@ -3,10 +3,10 @@ ...@@ -3,10 +3,10 @@
#include <linux/kthread.h> #include <linux/kthread.h>
#include <linux/edac.h> #include <linux/edac.h>
#include "edac_mc.h" #include "edac_core.h"
#include "edac_module.h" #include "edac_module.h"
#define EDAC_MC_VERSION "Ver: 2.0.3" __DATE__ #define EDAC_MC_VERSION "Ver: 2.0.4 " __DATE__
#ifdef CONFIG_EDAC_DEBUG #ifdef CONFIG_EDAC_DEBUG
/* Values of 0 to 4 will generate output */ /* Values of 0 to 4 will generate output */
......
/* edac_mc kernel module /*
* (C) 2005, 2006 Linux Networx (http://lnxi.com) * (C) 2005, 2006 Linux Networx (http://lnxi.com)
* This file may be distributed under the terms of the * This file may be distributed under the terms of the
* GNU General Public License. * GNU General Public License.
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
#include <linux/sysdev.h> #include <linux/sysdev.h>
#include <linux/ctype.h> #include <linux/ctype.h>
#include "edac_mc.h" #include "edac_core.h"
#include "edac_module.h" #include "edac_module.h"
......
...@@ -22,12 +22,12 @@ ...@@ -22,12 +22,12 @@
#include <linux/edac.h> #include <linux/edac.h>
#include <asm/mmzone.h> #include <asm/mmzone.h>
#include "edac_mc.h" #include "edac_core.h"
/* /*
* Alter this version for the I5000 module when modifications are made * Alter this version for the I5000 module when modifications are made
*/ */
#define I5000_REVISION " Ver: 2.0.11.devel " __DATE__ #define I5000_REVISION " Ver: 2.0.12 " __DATE__
#define i5000_printk(level, fmt, arg...) \ #define i5000_printk(level, fmt, arg...) \
edac_printk(level, "i5000", fmt, ##arg) edac_printk(level, "i5000", fmt, ##arg)
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
#include <linux/slab.h> #include <linux/slab.h>
#include "edac_mc.h" #include "edac_core.h"
#define I82443_REVISION "0.1" #define I82443_REVISION "0.1"
......
...@@ -14,9 +14,9 @@ ...@@ -14,9 +14,9 @@
#include <linux/pci.h> #include <linux/pci.h>
#include <linux/pci_ids.h> #include <linux/pci_ids.h>
#include <linux/slab.h> #include <linux/slab.h>
#include "edac_mc.h" #include "edac_core.h"
#define I82860_REVISION " Ver: 2.0.1 " __DATE__ #define I82860_REVISION " Ver: 2.0.2 " __DATE__
#define EDAC_MOD_STR "i82860_edac" #define EDAC_MOD_STR "i82860_edac"
#define i82860_printk(level, fmt, arg...) \ #define i82860_printk(level, fmt, arg...) \
......
...@@ -18,9 +18,9 @@ ...@@ -18,9 +18,9 @@
#include <linux/pci.h> #include <linux/pci.h>
#include <linux/pci_ids.h> #include <linux/pci_ids.h>
#include <linux/slab.h> #include <linux/slab.h>
#include "edac_mc.h" #include "edac_core.h"
#define I82875P_REVISION " Ver: 2.0.1 " __DATE__ #define I82875P_REVISION " Ver: 2.0.2 " __DATE__
#define EDAC_MOD_STR "i82875p_edac" #define EDAC_MOD_STR "i82875p_edac"
#define i82875p_printk(level, fmt, arg...) \ #define i82875p_printk(level, fmt, arg...) \
......
...@@ -20,9 +20,9 @@ ...@@ -20,9 +20,9 @@
#include <linux/pci.h> #include <linux/pci.h>
#include <linux/pci_ids.h> #include <linux/pci_ids.h>
#include <linux/slab.h> #include <linux/slab.h>
#include "edac_mc.h" #include "edac_core.h"
#define R82600_REVISION " Ver: 2.0.1 " __DATE__ #define R82600_REVISION " Ver: 2.0.2 " __DATE__
#define EDAC_MOD_STR "r82600_edac" #define EDAC_MOD_STR "r82600_edac"
#define r82600_printk(level, fmt, arg...) \ #define r82600_printk(level, fmt, arg...) \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment