diff options
author | Borislav Petkov <bp@suse.de> | 2017-01-26 22:18:12 +0100 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2017-04-10 17:14:29 +0200 |
commit | 8c22b4fece594e0602a6204876842b5a94df6568 (patch) | |
tree | fda765b2b05a466fdc22c771f13d24af28e21a10 /drivers/edac | |
parent | d3116a0837261405e0febb8043fe7040c8ebccb4 (diff) | |
download | op-kernel-dev-8c22b4fece594e0602a6204876842b5a94df6568.zip op-kernel-dev-8c22b4fece594e0602a6204876842b5a94df6568.tar.gz |
EDAC: Move edac_op_state to edac_mc.c
... as part of moving stuff away from edac_stub.c
Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'drivers/edac')
-rw-r--r-- | drivers/edac/edac_mc.c | 3 | ||||
-rw-r--r-- | drivers/edac/edac_stub.c | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/edac/edac_mc.c b/drivers/edac/edac_mc.c index 482b6ae..681387d 100644 --- a/drivers/edac/edac_mc.c +++ b/drivers/edac/edac_mc.c @@ -40,6 +40,9 @@ #define edac_atomic_scrub(va, size) do { } while (0) #endif +int edac_op_state = EDAC_OPSTATE_INVAL; +EXPORT_SYMBOL_GPL(edac_op_state); + /* lock to memory controller's control array */ static DEFINE_MUTEX(mem_ctls_mutex); static LIST_HEAD(mc_devices); diff --git a/drivers/edac/edac_stub.c b/drivers/edac/edac_stub.c index f02d21d..aa31cbd 100644 --- a/drivers/edac/edac_stub.c +++ b/drivers/edac/edac_stub.c @@ -17,9 +17,6 @@ #include <linux/atomic.h> #include <linux/device.h> -int edac_op_state = EDAC_OPSTATE_INVAL; -EXPORT_SYMBOL_GPL(edac_op_state); - int edac_report_status = EDAC_REPORTING_ENABLED; EXPORT_SYMBOL_GPL(edac_report_status); |