diff options
author | Will Deacon <will@kernel.org> | 2020-05-26 20:33:00 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-06-24 18:50:18 +0300 |
commit | a4d4b84377310e1f3741af6384ba79ac49cc2d0c (patch) | |
tree | 127155f96e4a0b0c1ecf59aaa00c000132c6a47e /arch/m68k/install.sh | |
parent | 7f16ba366a66b532fa33aa218c5c7db271f0e530 (diff) | |
download | linux-a4d4b84377310e1f3741af6384ba79ac49cc2d0c.tar.xz |
sparc32: mm: Don't try to free page-table pages if ctor() fails
[ Upstream commit 454b0289c6b5f2c66164654b80212d15fbef7a03 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch/m68k/install.sh')
0 files changed, 0 insertions, 0 deletions