diff options
author | Nathan Lynch <nathanl@linux.ibm.com> | 2021-09-27 15:19:31 -0500 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-10-09 00:16:00 +1100 |
commit | 983f9101740641434cea4f2e172175ff4b0276ad (patch) | |
tree | b3b2b981e1158fb4d7c9a5b1e74c806d5aa0e3d4 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 7edd5c9a8820bedb22870b34a809d45f2a86a35a (diff) |
powerpc/cpuhp: BUG -> WARN conversion in offline path
If, due to bugs elsewhere, we get into unregister_cpu_online() with a CPU
that isn't marked hotpluggable, we can emit a warning and return an
appropriate error instead of crashing.
Signed-off-by: Nathan Lynch <nathanl@linux.ibm.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210927201933.76786-3-nathanl@linux.ibm.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions