]> git.baikalelectronics.ru Git - kernel.git/commit
tools headers: Synchronize prctl.h ABI header
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 27 Nov 2017 15:11:02 +0000 (12:11 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 28 Nov 2017 17:31:30 +0000 (14:31 -0300)
commitbee8c395e9c21e4c3098c155609704d7dc65b49a
treea4e45723d71741d778cc5a30809e65ecc4424d68
parentf7ef40d2fdab6957df93b9b1c54fe936723927f4
tools headers: Synchronize prctl.h ABI header

To pick up changes from:

  bb4a26a075c6 ("arm64/sve: Add prctl controls for userspace vector length management")
  2c7701739308 ("arm64/sve: Backend logic for setting the vector length")

That showed a limitation of the regexp used in tools/perf/trace/beauty/prctl_option.sh,
that matches only PR_{SET,GET}_, but should match a few more, like
PR_MPX_*, PR_CAP_* and the one added by the above commit, PR_SVE_SET_*.

This silences this warning when building tools/perf:

  Warning: Kernel ABI header at 'tools/include/uapi/linux/prctl.h' differs from latest version at 'include/uapi/linux/prctl.h'

Support for those extra prctl options should be left for the next merge
window tho.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Dave Martin <Dave.Martin@arm.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Cc: Will Deacon <will.deacon@arm.com>
Link: https://lkml.kernel.org/n/tip-r52dsyuzy04qzqyfcifjs35t@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/include/uapi/linux/prctl.h