]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: mm: free __init memory via the linear mapping
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 30 Mar 2016 14:45:57 +0000 (16:45 +0200)
committerWill Deacon <will.deacon@arm.com>
Thu, 14 Apr 2016 15:31:49 +0000 (16:31 +0100)
commitd645a022f1c31526749e6c5322f31abfb28b1efc
tree13f56296a6c95d768615a2346d59cfaa83911d74
parent3e73a09d9b45ff7be3de77df73b9272e4bc96a7e
arm64: mm: free __init memory via the linear mapping

The implementation of free_initmem_default() expects __init_begin
and __init_end to be covered by the linear mapping, which is no
longer the case. So open code it instead, using addresses that are
explicitly translated from kernel virtual to linear virtual.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/mm/init.c