commit | c979c70ed176518dfb32eaf8a7ac58f41ae21de1 | [log] [tgz] |
---|---|---|
author | Gavin Shan <gwshan@linux.vnet.ibm.com> | Mon Jul 21 14:42:32 2014 +1000 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Tue Aug 05 16:33:21 2014 +1000 |
tree | 938ae6764ab951385dfa1ba814e4c24611de409a | |
parent | 5ca27efbd8b4579ef1e54e6c0a4a73dbf7f56a4a [diff] |
powerpc/powernv: Split ioda_eeh_get_state() Function ioda_eeh_get_state() is used to fetch EEH state for PHB or PE. We're going to support compound PE and the function becomes more complicated with that. The patch splits the function into two functions for PHB and PE cases separately to improve readability. Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>