diff options
author | Oliver O'Halloran <oohall@gmail.com> | 2020-07-25 18:12:29 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-07-26 23:34:21 +1000 |
commit | d923ab7a96fcc2b46aac9b2fc38ffdca72436fd1 (patch) | |
tree | 8fa17d1b8544f97170b29dc4f6c1db113bb597c5 /tools/time | |
parent | 768a42845b9ecdb28ba1991e17088b7eeb23a3eb (diff) |
powerpc/eeh: Rename eeh_{add_to|remove_from}_parent_pe()
The naming of eeh_{add_to|remove_from}_parent_pe() doesn't really reflect
what they actually do. If the PE referred to be edev->pe_config_addr
already exists under that PHB then the edev is added to that PE. However,
if the PE doesn't exist the a new one is created for the edev.
The bulk of the implementation of eeh_add_to_parent_pe() covers that
second case. Similarly, most of eeh_remove_from_parent_pe() is
determining when it's safe to delete a PE.
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200725081231.39076-12-oohall@gmail.com
Diffstat (limited to 'tools/time')
0 files changed, 0 insertions, 0 deletions