• Yanan Wang's avatar
    tools/headers: sync headers of asm-generic/hugetlb_encode.h · fa76c775
    Yanan Wang authored
    This patch syncs contents of tools/include/asm-generic/hugetlb_encode.h
    and include/uapi/asm-generic/hugetlb_encode.h. Arch powerpc supports 16KB
    hugepages and ARM64 supports 32MB/512MB hugepages. The corresponding mmap
    flags have already been added in include/uapi/asm-generic/hugetlb_encode.h,
    but not tools/include/asm-generic/hugetlb_encode.h.
    
    Cc: Ingo Molnar <mingo@kernel.org>
    Cc: Adrian Hunter <adrian.hunter@intel.com>
    Cc: Jiri Olsa <jolsa@redhat.com>
    Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
    Signed-off-by: default avatarYanan Wang <wangyanan55@huawei.com>
    Reviewed-by: default avatarBen Gardon <bgardon@google.com>
    Message-Id: <20210330080856.14940-2-wangyanan55@huawei.com>
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
    fa76c775
hugetlb_encode.h 1.76 KB