.. | .. |
---|
1 | 1 | // SPDX-License-Identifier: GPL-2.0 |
---|
2 | 2 | #include <linux/types.h> |
---|
| 3 | +#include "../../../../arch/x86/include/asm/insn.h" |
---|
| 4 | +#include <string.h> |
---|
3 | 5 | |
---|
4 | 6 | #include "debug.h" |
---|
5 | 7 | #include "tests/tests.h" |
---|
6 | 8 | #include "arch-tests.h" |
---|
7 | 9 | |
---|
8 | | -#include "intel-pt-decoder/insn.h" |
---|
9 | 10 | #include "intel-pt-decoder/intel-pt-insn-decoder.h" |
---|
10 | 11 | |
---|
11 | 12 | struct test_data { |
---|
.. | .. |
---|
170 | 171 | * |
---|
171 | 172 | * If the test passes %0 is returned, otherwise %-1 is returned. Use the |
---|
172 | 173 | * verbose (-v) option to see all the instructions and whether or not they |
---|
173 | | - * decoded successfuly. |
---|
| 174 | + * decoded successfully. |
---|
174 | 175 | */ |
---|
175 | 176 | int test__insn_x86(struct test *test __maybe_unused, int subtest __maybe_unused) |
---|
176 | 177 | { |
---|