s390/mm: add support to allocate gigantic hugepages using CMA
authorGerald Schaefer <gerald.schaefer@linux.ibm.com>
Tue, 8 Dec 2020 18:47:15 +0000 (19:47 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Thu, 10 Dec 2020 20:11:01 +0000 (21:11 +0100)
commit343dbdb7cb8997a2cb0fd804d6563b8a6de8d49b
treec913e0c6b8e6f3a3e6e584c9fae0b154f8276cdb
parentff98cc986ae883eec5f26af72d4e2406612fe683
s390/mm: add support to allocate gigantic hugepages using CMA

Commit cf11e85fc08c ("mm: hugetlb: optionally allocate gigantic hugepages
using cma") added support for allocating gigantic hugepages using CMA,
by specifying the hugetlb_cma= kernel parameter, which will disable any
boot-time allocation of gigantic hugepages.

This patch enables that option also for s390.

Signed-off-by: Gerald Schaefer <gerald.schaefer@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/kernel/setup.c