Hello, This series adds Aarch64 support and makes some minor tweaks.
The first two patches of this series add Aarch64 support to libhugetlbfs. (Starting from 3.11-rc1, the Linux Kernel supports HugeTLB and THP for ARM64).
Some general changes are also made: PROT_NONE is added to the mprotect unit test, and the linkhuge_rw test is enabled for 64 bit where there aren't any custom ldscripts.
The final patch clears up the superfluous ARM ld.hugetlbfs HTLB_LINK logic.
Any comments would be appreciated.
Cheers, -- Steve
Steve Capper (5): Aarch64 support. Aarch64 unit test fixes. Add PROT_NONE to the mprotect test. Add linkhuge_rw test to 64 bit && !CUSTOM_LDSCIPTS Cleanup ARM ld.hugetlbfs HTLB_LINK logic
Makefile | 7 +++++++ ld.hugetlbfs | 7 +------ sys-aarch64elf.S | 34 ++++++++++++++++++++++++++++++++++ tests/Makefile | 2 +- tests/icache-hygiene.c | 7 ++++--- tests/mprotect.c | 6 ++++++ tests/mremap-expand-slice-collision.c | 2 +- 7 files changed, 54 insertions(+), 11 deletions(-) create mode 100644 sys-aarch64elf.S