+5
−4
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Commit 523d6e9fae93 (arm64:mm: free the useless initial page table) introduced a BUG_ON checking for the allocation type but it was referring the early_alloc() function in the __init section. This patch changes the check to slab_is_available() and also relaxes the BUG to a WARN_ON_ONCE. Reported-by:Will Deacon <will.deacon@arm.com> Acked-by:
Will Deacon <will.deacon@arm.com> Signed-off-by:
Catalin Marinas <catalin.marinas@arm.com> Bug: 31432001 Change-Id: I5e6f9d083dc0cb6f2ba89b20353be2d479182103 (cherry picked from commit 41089357e1874559458f672b9591436ffd3a12e9) Signed-off-by:
Sami Tolvanen <samitolvanen@google.com>