diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-07-15 13:03:14 +1000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-08-14 14:58:27 +1000 |
commit | 2db29d28eb100e464cfaf1a2146d0bf58198212d (patch) | |
tree | 9166c28c6353e87fe8fca69915d2828779c1b81b /tools/perf/scripts/python | |
parent | e0f5fa99a378d6910d234f3c8998aebfe2f54745 (diff) |
powerpc/powernv: Don't crash if there are no OPAL consoles
Some machines might provide the console via a different mechanism
such as direct access to a UART from Linux, in which case OPAL
might not expose any console. In that case, the code would cause
a NULL dereference.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions