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 @@
#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);
......
......@@ -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);
......
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