diff options
author | Will Deacon <will@kernel.org> | 2020-05-26 18:33:00 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-06-02 18:45:51 -0700 |
commit | 454b0289c6b5f2c66164654b80212d15fbef7a03 (patch) | |
tree | 8582dc17ac421fc74caad0d44386a2e7ff3cffec /mm/Kconfig | |
parent | ee7c7953134e23af41055c41a124b4f776d813c3 (diff) |
sparc32: mm: Don't try to free page-table pages if ctor() fails
The pages backing page-table allocations for SRMMU are allocated via
memblock as part of the "nocache" region initialisation during
srmmu_paging_init() and should not be freed even if a later call to
pgtable_pte_page_ctor() fails.
Remove the broken call to __free_page().
Cc: David S. Miller <davem@davemloft.net>
Cc: Kirill A. Shutemov <kirill@shutemov.name>
Fixes: 1ae9ae5f7df7 ("sparc: handle pgtable_page_ctor() fail")
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/Kconfig')
0 files changed, 0 insertions, 0 deletions