Commit 8c22b4fe authored by Borislav Petkov's avatar Borislav Petkov

EDAC: Move edac_op_state to edac_mc.c

... as part of moving stuff away from edac_stub.c
Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
parent d3116a08
...@@ -40,6 +40,9 @@ ...@@ -40,6 +40,9 @@
#define edac_atomic_scrub(va, size) do { } while (0) #define edac_atomic_scrub(va, size) do { } while (0)
#endif #endif
int edac_op_state = EDAC_OPSTATE_INVAL;
EXPORT_SYMBOL_GPL(edac_op_state);
/* lock to memory controller's control array */ /* lock to memory controller's control array */
static DEFINE_MUTEX(mem_ctls_mutex); static DEFINE_MUTEX(mem_ctls_mutex);
static LIST_HEAD(mc_devices); static LIST_HEAD(mc_devices);
......
...@@ -17,9 +17,6 @@ ...@@ -17,9 +17,6 @@
#include <linux/atomic.h> #include <linux/atomic.h>
#include <linux/device.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; int edac_report_status = EDAC_REPORTING_ENABLED;
EXPORT_SYMBOL_GPL(edac_report_status); EXPORT_SYMBOL_GPL(edac_report_status);
......
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