commit | 4da243ac1cf6aeb30b7c555d56208982d66d6d33 | [log] [tgz] |
---|---|---|
author | Mike Kravetz <[email protected]> | Wed Sep 06 16:23:33 2017 -0700 |
committer | Linus Torvalds <[email protected]> | Wed Sep 06 17:27:28 2017 -0700 |
tree | 1689603346a79bec34b3007d16b51854e7c00963 | |
parent | aafd4562dfee81a40ba21b5ea3cf5e06664bc7f6 [diff] |
mm: shm: use new hugetlb size encoding definitions Use the common definitions from hugetlb_encode.h header file for encoding hugetlb size definitions in shmget system call flags. In addition, move these definitions from the internal (kernel) to user (uapi) header file. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Mike Kravetz <[email protected]> Suggested-by: Matthew Wilcox <[email protected]> Acked-by: Michal Hocko <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Andrea Arcangeli <[email protected]> Cc: Aneesh Kumar K.V <[email protected]> Cc: Anshuman Khandual <[email protected]> Cc: Arnd Bergmann <[email protected]> Cc: Davidlohr Bueso <[email protected]> Cc: Michael Kerrisk <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>