/* handler for EDAC to check if NMI type handler has asserted interrupt  */
static int edac_mc_assert_error_check_and_clear(void)
/* 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;
}