... and the glue around it. It is not needed anymore.
Signed-off-by: Borislav Petkov <bp@suse.de>
}
EXPORT_SYMBOL_GPL(find_mci_by_dev);
-/*
- * handler for EDAC to check if NMI type handler has asserted interrupt
- */
-static int edac_mc_assert_error_check_and_clear(void)
-{
- int old_state;
-
- if (edac_op_state == EDAC_OPSTATE_POLL)
- return 1;
-
- old_state = edac_err_assert;
- edac_err_assert = 0;
-
- return old_state;
-}
-
/*
* edac_mc_workq_function
* performs the operation scheduled by a workq request
return;
}
- if (edac_mc_assert_error_check_and_clear())
+ if (edac_op_state == EDAC_OPSTATE_POLL)
mci->edac_check(mci);
mutex_unlock(&mem_ctls_mutex);
int edac_op_state = EDAC_OPSTATE_INVAL;
EXPORT_SYMBOL_GPL(edac_op_state);
-int edac_err_assert = 0;
-EXPORT_SYMBOL_GPL(edac_err_assert);
-
int edac_report_status = EDAC_REPORTING_ENABLED;
EXPORT_SYMBOL_GPL(edac_report_status);
#define EDAC_OPSTATE_INT 2
extern int edac_op_state;
-extern int edac_err_assert;
extern struct bus_type *edac_get_sysfs_subsys(void);