/* Provides edac interface to mcelog events * * This file may be distributed under the terms of the * GNU General Public License version 2. * * Copyright (c) 2009 by: * Mauro Carvalho Chehab <mchehab@redhat.com> * * Red Hat Inc. http://www.redhat.com */#if defined(CONFIG_EDAC_MCE) || \ (defined(CONFIG_EDAC_MCE_MODULE) && defined(MODULE))#include <asm/mce.h>#include <linux/list.h>structedac_mce{structlist_headlist;void*priv;int(*check_error)(void*priv,structmce*mce);};intedac_mce_register(structedac_mce*edac_mce);voidedac_mce_unregister(structedac_mce*edac_mce);intedac_mce_parse(structmce*mce);#else#define edac_mce_parse(mce) (0)#endif