diff options
| author | David Hildenbrand <david@redhat.com> | 2020-11-11 15:53:21 +0100 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-11-19 16:56:59 +1100 |
| commit | ca2c36cae9d48b180ea51259e35ab3d95d327df2 (patch) | |
| tree | 3e6bfeb288583e18bf893a010fe26b1df5d3a153 /tools/perf/scripts/python | |
| parent | d8bd9a121c2f2bc8b36da930dc91b69fd2a705e2 (diff) | |
powerpc/mm: remove linear mapping if __add_pages() fails in arch_add_memory()
Let's revert what we did in case something goes wrong and we return an
error - as already done on arm64 and s390x.
Signed-off-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Oscar Salvador <osalvador@suse.de>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201111145322.15793-8-david@redhat.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
