]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: trans_pgd: pass NULL instead of init_mm to *_populate functions
authorPavel Tatashin <pasha.tatashin@soleen.com>
Mon, 25 Jan 2021 19:19:11 +0000 (14:19 -0500)
committerWill Deacon <will@kernel.org>
Wed, 27 Jan 2021 15:41:12 +0000 (15:41 +0000)
commitbd41d596ef64f48838726f3ade2a67771b423b3a
tree90238c44f2c68f1fa9c102548d4a584f4e3eda59
parent1a92e21b726991596ad419244e7818dadbaefc9a
arm64: trans_pgd: pass NULL instead of init_mm to *_populate functions

trans_pgd_* should be independent from mm context because the tables that
are created by this code are used when there are no mm context around, as
it is between kernels. Simply replace mm_init's with NULL.

Signed-off-by: Pavel Tatashin <pasha.tatashin@soleen.com>
Acked-by: James Morse <james.morse@arm.com>
Link: https://lore.kernel.org/r/20210125191923.1060122-7-pasha.tatashin@soleen.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/mm/trans_pgd.c