GUI: Fix Tomato RAF theme for all builds. Compilation typo.
[tomato.git] / release / src-rt-6.x.4708 / linux / linux-2.6.36 / include / linux / edac_mce.h
blob7df761e8636c0e42cde142643850e37687d22a33
1 /* Provides edac interface to mcelog events
3 * This file may be distributed under the terms of the
4 * GNU General Public License version 2.
6 * Copyright (c) 2009 by:
7 * Mauro Carvalho Chehab <mchehab@redhat.com>
9 * Red Hat Inc. http://www.redhat.com
12 #if defined(CONFIG_EDAC_MCE) || (defined(CONFIG_EDAC_MCE_MODULE) && defined(MODULE))
14 #include <asm/mce.h>
15 #include <linux/list.h>
17 struct edac_mce {
18 struct list_head list;
20 void *priv;
21 int (*check_error)(void *priv, struct mce *mce);
24 int edac_mce_register(struct edac_mce *edac_mce);
25 void edac_mce_unregister(struct edac_mce *edac_mce);
26 int edac_mce_parse(struct mce *mce);
28 #else
29 #define edac_mce_parse(mce) (0)
30 #endif