diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2019-07-25 03:39:47 +0300 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2019-07-25 03:44:42 +0300 |
commit | e3cacb73e626d885b8cf24103fed0ae26518e3c4 (patch) | |
tree | 73096bfdbb871b0f851c205110b35f6a6da018eb /arch/xtensa/kernel | |
parent | 5f9e832c137075045d15cd6899ab0505cfb2ca4b (diff) | |
download | linux-e3cacb73e626d885b8cf24103fed0ae26518e3c4.tar.xz |
xtensa: fix build for cores with coprocessors
Assembly entry/return abstraction change didn't add asmmacro.h include
statement to coprocessor.S, resulting in references to undefined macros
abi_entry and abi_ret on cores that define XTENSA_HAVE_COPROCESSORS.
Fix that by including asm/asmmacro.h from the coprocessor.S.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/kernel')
-rw-r--r-- | arch/xtensa/kernel/coprocessor.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/xtensa/kernel/coprocessor.S b/arch/xtensa/kernel/coprocessor.S index 60c220020054..80828b95a51f 100644 --- a/arch/xtensa/kernel/coprocessor.S +++ b/arch/xtensa/kernel/coprocessor.S @@ -14,6 +14,7 @@ #include <linux/linkage.h> #include <asm/asm-offsets.h> +#include <asm/asmmacro.h> #include <asm/processor.h> #include <asm/coprocessor.h> #include <asm/thread_info.h> |