diff options
author | Sam Bobroff <[email protected]> | 2018-03-19 13:49:23 +1100 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2018-03-27 23:45:19 +1100 |
commit | 34a286a4ac576d3d9ea3ac2bc7bbd4216a1f7ac7 (patch) | |
tree | 2474a8ad747afd3e21581777ab0cb12dabf68ede /scripts/gdb/linux/utils.py | |
parent | 54048cf876615285363f6f6c21014bf2462ebe0d (diff) |
powerpc/eeh: Add eeh_state_active() helper
Checking for a "fully active" device state requires testing two flag
bits, which is open coded in several places, so add a function to do
it.
Signed-off-by: Sam Bobroff <[email protected]>
Reviewed-by: Alexey Kardashevskiy <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions