]> git.baikalelectronics.ru Git - kernel.git/commit
selftests, arm64: add kernel headers path for tags_test
authorAndrey Konovalov <andreyknvl@google.com>
Wed, 4 Sep 2019 16:41:00 +0000 (18:41 +0200)
committerWill Deacon <will@kernel.org>
Tue, 17 Sep 2019 11:11:50 +0000 (12:11 +0100)
commitef971dfb5e3f7f5866c25a07b3b5f83fd0573244
tree0c827c46378aebd6aa680d2d18eb4134bbccbd7b
parentc8af04300cb49cf2c16817fc7e3f20eb9ba12c46
selftests, arm64: add kernel headers path for tags_test

tags_test.c relies on PR_SET_TAGGED_ADDR_CTRL/PR_TAGGED_ADDR_ENABLE being
present in system headers. When this is not the case the build of this
test fails with undeclared identifier errors.

Fix by providing the path to the KSFT installed kernel headers in CFLAGS.

Reported-by: Cristian Marussi <cristian.marussi@arm.com>
Suggested-by: Cristian Marussi <cristian.marussi@arm.com>
Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Signed-off-by: Will Deacon <will@kernel.org>
tools/testing/selftests/arm64/Makefile