diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2015-01-29 17:33:35 +0000 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2015-01-29 17:33:35 +0000 |
commit | 41089357e1874559458f672b9591436ffd3a12e9 (patch) | |
tree | 2295397f0e5d96a0d6929fe5f0935177257d54a5 /arch/mips/include/asm/unaligned.h | |
parent | 6917c857e3ab5bc5e15d2b1ff34dc2443ccf5b0d (diff) |
arm64: Fix section mismatch on alloc_init_p[mu]d()
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>
Diffstat (limited to 'arch/mips/include/asm/unaligned.h')
0 files changed, 0 insertions, 0 deletions