diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2019-07-25 02:39:47 +0200 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2019-07-25 02:44:42 +0200 |
commit | e3cacb73e626d885b8cf24103fed0ae26518e3c4 (patch) | |
tree | 73096bfdbb871b0f851c205110b35f6a6da018eb /arch/xtensa | |
parent | Linus 5.3-rc1 (diff) | |
download | linux-e3cacb73e626d885b8cf24103fed0ae26518e3c4.tar.xz linux-e3cacb73e626d885b8cf24103fed0ae26518e3c4.zip |
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')
-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> |