selftests/thuge-gen: Use platform specific MAP_HUGETLB value
authorHelge Deller <deller@gmx.de>
Thu, 31 Mar 2016 11:11:05 +0000 (13:11 +0200)
committerHelge Deller <deller@gmx.de>
Sun, 22 May 2016 19:43:41 +0000 (21:43 +0200)
commita4351cb5511b917556c796d97068318a53a00849
tree4f797b85c26c5faa5b13da85e4a381310c12d5d5
parent54b668009076caddbede8fde513ca2c982590bfe
selftests/thuge-gen: Use platform specific MAP_HUGETLB value

Do not hardcode MAP_HUGETLB to 0x40000, since quite some architectures
use a different value.

Tested with a parisc architecture 64bit kernel.

Signed-off-by: Helge Deller <deller@gmx.de>
tools/testing/selftests/vm/thuge-gen.c