Commit f93b7b00 authored by Huang Pei's avatar Huang Pei Committed by Greg Kroah-Hartman
Browse files

MIPS: check return value of pgtable_pmd_page_ctor



[ Upstream commit 6aa32467 ]

+. According to Documentation/vm/split_page_table_lock, handle failure
of pgtable_pmd_page_ctor

+. Use GFP_KERNEL_ACCOUNT instead of GFP_KERNEL|__GFP_ACCOUNT

+. Adjust coding style

Fixes: ed914d48 ("MIPS: add PMD table accounting into MIPS')
Reported-by: default avatarJoshua Kinard <kumba@gentoo.org>
Signed-off-by: default avatarHuang Pei <huangpei@loongson.cn>
Reviewed-by: default avatarJoshua Kinard <kumba@gentoo.org>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 9b2b2f07
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment