Skip to content
Commit c4f3eb5f authored by James Yang's avatar James Yang Committed by Benjamin Herrenschmidt
Browse files

powerpc/mm/hugetlb: Sanity check gigantic hugepage count



Limit the number of gigantic hugepages specified by the
hugepages= parameter to MAX_NUMBER_GPAGES.

Signed-off-by: default avatarJames Yang <James.Yang@freescale.com>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent 0de3b56b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment