EDAC: Move edac_op_state to edac_mc.c
authorBorislav Petkov <bp@suse.de>
Thu, 26 Jan 2017 21:18:12 +0000 (22:18 +0100)
committerBorislav Petkov <bp@suse.de>
Mon, 10 Apr 2017 15:14:29 +0000 (17:14 +0200)
... as part of moving stuff away from edac_stub.c

Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/edac_mc.c
drivers/edac/edac_stub.c

index 482b6ae..681387d 100644 (file)
@@ -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);
index f02d21d..aa31cbd 100644 (file)
@@ -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);