summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/eeh_event.h
diff options
context:
space:
mode:
authorGavin Shan <shangw@linux.vnet.ibm.com>2013-06-20 09:21:02 +0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-06-20 11:06:07 +0400
commit99866595340fa24079f61962b2541db3225e7aad (patch)
treec8c46660889edcc691efb4c052ddc1350f714fc6 /arch/powerpc/include/asm/eeh_event.h
parent5a71978e4b6ee6a01bc6aab926a3571055123029 (diff)
downloadlinux-99866595340fa24079f61962b2541db3225e7aad.tar.xz
powerpc/eeh: Allow to purge EEH events
On PowerNV platform, we might run into the situation where subsequent events are duplicated events of former one, which is being processed. For the case, we need the function implemented by the patch to purge EEH events accordingly. Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/eeh_event.h')
-rw-r--r--arch/powerpc/include/asm/eeh_event.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/eeh_event.h b/arch/powerpc/include/asm/eeh_event.h
index de92c86221e7..89d5670b2eeb 100644
--- a/arch/powerpc/include/asm/eeh_event.h
+++ b/arch/powerpc/include/asm/eeh_event.h
@@ -33,6 +33,7 @@ struct eeh_event {
int eeh_event_init(void);
int eeh_send_failure_event(struct eeh_pe *pe);
+void eeh_remove_event(struct eeh_pe *pe);
void eeh_handle_event(struct eeh_pe *pe);
#endif /* __KERNEL__ */