diff options
author | Dominik Dingel <dingel@linux.vnet.ibm.com> | 2015-07-17 16:23:39 -0700 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2016-06-15 21:28:12 +0100 |
commit | b1d4ae226d90f4656a4a8eeb807d4d06ca4c13b4 (patch) | |
tree | 04cbfa1a2657731416a090c660a00dc9eabf57cf /CREDITS | |
parent | eb67feac907a5a0f991b902b4746231e175d624b (diff) | |
download | linux-stable-b1d4ae226d90f4656a4a8eeb807d4d06ca4c13b4.tar.gz linux-stable-b1d4ae226d90f4656a4a8eeb807d4d06ca4c13b4.tar.bz2 linux-stable-b1d4ae226d90f4656a4a8eeb807d4d06ca4c13b4.zip |
s390/hugetlb: add hugepages_supported define
commit 7f9be77555bb2e52de84e9dddf7b4eb20cc6e171 upstream.
On s390 we only can enable hugepages if the underlying hardware/hypervisor
also does support this. Common code now would assume this to be
signaled by setting HPAGE_SHIFT to 0. But on s390, where we only
support one hugepage size, there is a link between HPAGE_SHIFT and
pageblock_order.
So instead of setting HPAGE_SHIFT to 0, we will implement the check for
the hardware capability.
Signed-off-by: Dominik Dingel <dingel@linux.vnet.ibm.com>
Acked-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Cc: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions