diff options
author | Dominik Dingel <[email protected]> | 2015-07-17 16:23:31 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2015-07-17 16:39:52 -0700 |
commit | ad4f99e888192e53d463cab75075e88e65ad7d50 (patch) | |
tree | cd8a3ebd7444c87116e383a3399ea62b24d601c0 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 04ea1e91f85615318ea91ce8ab50cb6a01ee4005 (diff) |
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 cf54e2fce51c ("s390/mm: change
HPAGE_SHIFT type to int") in preparation.
Signed-off-by: Dominik Dingel <[email protected]>
Acked-by: Martin Schwidefsky <[email protected]>
Cc: Heiko Carstens <[email protected]>
Cc: Christian Borntraeger <[email protected]>
Cc: Michael Holzheu <[email protected]>
Cc: Gerald Schaefer <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions