/* Do a quick check if any of the events requires a panic. This decides if we keep the events around or clear them.  */
static int mce_no_way_out(struct mce *m, char **msg)
/* Do a quick check if any of the events requires a panic. This decides if we keep the events around or clear them.  */
static int mce_no_way_out(struct mce *m, char **msg)
{
	int i;
	for (i = 0; i < banks; i++) {
		m->status = mce_rdmsrl(MSR_IA32_MCx_STATUS(i));
		if (mce_severity(m, tolerant, msg) >= MCE_PANIC_SEVERITY)
			return 1;
	}
	return 0;
}