linux-sg2042/tools/testing/selftests/breakpoints
Sumit Semwal af7dc09346 selftests: breakpoints: fix compile error on breakpoint_test_arm64
The current mainline breakpoints test for arm64 fails to compile with

breakpoint_test_arm64.c: In function ‘set_watchpoint’:
breakpoint_test_arm64.c:97:28: error: storage size of ‘dreg_state’ isn’t known
  struct user_hwdebug_state dreg_state;

Adding a direct include for asm/ptrace.h helps it to build, and passes
the test on mainline on hikey.

Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
2017-11-15 08:01:43 -07:00
..
.gitignore selftests: add missing .gitignore file or entry 2016-02-25 13:16:36 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
breakpoint_test.c selftests: breakpoint_test: Add missing line breaks 2017-07-26 10:32:31 -06:00
breakpoint_test_arm64.c selftests: breakpoints: fix compile error on breakpoint_test_arm64 2017-11-15 08:01:43 -07:00
step_after_suspend_test.c selftests: breakpoints: step_after_suspend_test use ksft_* var arg msg api 2017-06-30 16:16:10 -06:00