summaryrefslogtreecommitdiffstats
path: root/include/acpi/hed.h
diff options
context:
space:
mode:
authorHuang Ying <ying.huang@intel.com>2010-05-18 14:35:17 +0800
committerLen Brown <len.brown@intel.com>2010-05-19 22:40:24 -0400
commit801eab8118f61255d8e2be35939c572042618742 (patch)
tree60e433b615370b2281cfca1ba9980dcda0aa5cab /include/acpi/hed.h
parentaffb72c3a8984ba55e055b0a0228c3ea1a056758 (diff)
downloadop-kernel-dev-801eab8118f61255d8e2be35939c572042618742.zip
op-kernel-dev-801eab8118f61255d8e2be35939c572042618742.tar.gz
ACPI Hardware Error Device (PNP0C33) support
Hardware Error Device (PNP0C33) is used to report some hardware errors notified via SCI, mainly the corrected errors. Some APEI Generic Hardware Error Source (GHES) may use SCI on hardware error device to notify hardware error to kernel. After receiving notification from ACPI core, it is forwarded to all listeners via a notifier chain. The listener such as APEI GHES should check corresponding error source for new events when notified. Signed-off-by: Huang Ying <ying.huang@intel.com> Signed-off-by: Andi Kleen <ak@linux.intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi/hed.h')
-rw-r--r--include/acpi/hed.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/acpi/hed.h b/include/acpi/hed.h
new file mode 100644
index 0000000..46e1249
--- /dev/null
+++ b/include/acpi/hed.h
@@ -0,0 +1,18 @@
+/*
+ * hed.h - ACPI Hardware Error Device
+ *
+ * Copyright (C) 2009, Intel Corp.
+ * Author: Huang Ying <ying.huang@intel.com>
+ *
+ * This file is released under the GPLv2.
+ */
+
+#ifndef ACPI_HED_H
+#define ACPI_HED_H
+
+#include <linux/notifier.h>
+
+int register_acpi_hed_notifier(struct notifier_block *nb);
+void unregister_acpi_hed_notifier(struct notifier_block *nb);
+
+#endif
OpenPOWER on IntegriCloud