[LTP] [PATCH 01/18] Move check_hugepage() helper to mem/lib
Cyril Hrubis
chrubis@suse.cz
Tue Oct 31 11:53:53 CET 2017
Hi!
> diff --git a/testcases/kernel/mem/hugetlb/lib/hugetlb.h b/testcases/kernel/mem/hugetlb/lib/hugetlb.h
> index c6d2016b7..f4a1a75d7 100644
> --- a/testcases/kernel/mem/hugetlb/lib/hugetlb.h
> +++ b/testcases/kernel/mem/hugetlb/lib/hugetlb.h
> @@ -45,7 +45,6 @@
> * from shmid_ds.ipc_perm.mode
> */
> #define MODE_MASK 0x01FF
> -#define PATH_HUGEPAGES "/sys/kernel/mm/hugepages/"
>
> key_t shmkey; /* an IPC key generated by ftok() */
We should remove the check_hugepage() prototype from this header as
well, otherwise it's fine.
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list