Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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);
+0 −3
Original line number Diff line number Diff line
@@ -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);