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 482b6aea1ce76f94c8c5834934f35965ef5d8d36..681387d20fb972bd686ed623553aa61a17731d35 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 f02d21d8130f97f85c51a2937ea03414a4d7fba3..aa31cbd17cd2dc990126d26f2649bac60e82e0c4 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);