/* If the EIPV bit is set, it means the saved IP is the instruction which caused the MCE.  */
static int error_context(struct mce *m)
/* If the EIPV bit is set, it means the saved IP is the instruction which caused the MCE.  */
static int error_context(struct mce *m)
{
	if (m->mcgstatus & MCG_STATUS_EIPV)
		return (m->ip && (m->cs & 3) == 3) ? IN_USER : IN_KERNEL;
	return IN_KERNEL;
}