powerpc/eeh: Build EEH event based on PE
The original implementation builds EEH event based on EEH device. We already had dedicated struct to depict PE. It's reasonable to build EEH event based on PE. Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:

committed by
Benjamin Herrenschmidt

parent
82e8882f7f
commit
c533b46cc7
@@ -28,10 +28,10 @@
|
||||
*/
|
||||
struct eeh_event {
|
||||
struct list_head list; /* to form event queue */
|
||||
struct eeh_dev *edev; /* EEH device */
|
||||
struct eeh_pe *pe; /* EEH PE */
|
||||
};
|
||||
|
||||
int eeh_send_failure_event(struct eeh_dev *edev);
|
||||
int eeh_send_failure_event(struct eeh_pe *pe);
|
||||
struct eeh_dev *handle_eeh_events(struct eeh_event *);
|
||||
|
||||
#endif /* __KERNEL__ */
|
||||
|
Reference in New Issue
Block a user