Files
android_kernel_xiaomi_sm8450/arch/s390/include/asm
Dominik Dingel ad4f99e888 revert "s390/mm: change HPAGE_SHIFT type to int"
Heiko noticed that the current check for hugepage support on s390 is a
little bit too harsh as systems which do not support will crash.

The reason is that pageblock_order can now get negative when we set
HPAGE_SHIFT to 0.  To avoid all this and to avoid opening another can of
worms with enabling HUGETLB_PAGE_SIZE_VARIABLE I think it would be best
to simply allow architectures to define their own hugepages_supported().

This patch (of 4): revert commit cf54e2fce5 ("s390/mm: change
HPAGE_SHIFT type to int") in preparation.

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>
2015-07-17 16:39:52 -07:00
..
2014-03-04 10:41:04 +01:00
2015-03-25 11:49:33 +01:00
2015-03-25 11:49:33 +01:00
2015-03-25 11:49:33 +01:00
2015-05-13 10:55:42 +02:00
2015-01-22 12:16:01 +01:00
2015-03-25 11:49:33 +01:00
2013-10-24 17:17:04 +02:00
2013-11-13 20:21:46 +01:00
2015-03-25 11:49:33 +01:00
2015-06-25 09:39:26 +02:00
2015-03-25 11:41:41 -04:00
2015-03-27 15:05:32 +01:00
2015-03-25 11:49:33 +01:00
2015-06-24 17:49:41 -07:00
2015-03-25 11:49:33 +01:00
2014-10-09 09:14:13 +02:00
2015-01-21 16:28:49 +10:30
2015-04-15 12:23:53 +02:00
2015-03-25 11:49:33 +01:00
2015-07-01 09:34:39 +02:00
2015-03-25 11:49:33 +01:00
2015-03-25 11:49:33 +01:00
2015-03-25 11:49:33 +01:00
2015-01-22 12:16:01 +01:00
2015-03-25 11:49:33 +01:00
2015-03-25 11:49:33 +01:00
2015-03-25 11:49:33 +01:00
2015-03-25 11:49:33 +01:00
2015-06-29 10:13:11 +02:00
2015-03-25 11:49:33 +01:00
2014-11-03 13:29:47 +01:00
2015-02-12 18:54:14 -08:00
2015-03-25 11:49:33 +01:00
2015-03-25 11:49:33 +01:00
2015-03-25 11:49:33 +01:00
2015-03-25 11:49:33 +01:00
2015-03-25 11:49:33 +01:00
2015-03-25 11:49:33 +01:00