commit | 309ed3a7157a50edeeddfe49bd527a7347f76237 | [log] [tgz] |
---|---|---|
author | Sam Bobroff <sbobroff@linux.ibm.com> | Fri May 25 13:11:35 2018 +1000 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Sun Jun 03 20:43:39 2018 +1000 |
tree | 9f63c5bc31951af3196fa588537da7950b8a3338 | |
parent | 30424e386a30d1160a0fdf47beafe8b116d0a8f7 [diff] |
powerpc/eeh: Introduce eeh_for_each_pe() Add a for_each-style macro for iterating through PEs without the boilerplate required by a traversal function. eeh_pe_next() is now exported, as it is now used directly in place. Signed-off-by: Sam Bobroff <sbobroff@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>