summaryrefslogtreecommitdiffstats
path: root/arch/xtensa
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2019-07-24 17:39:47 -0700
committerMax Filippov <jcmvbkbc@gmail.com>2019-07-24 17:44:42 -0700
commite3cacb73e626d885b8cf24103fed0ae26518e3c4 (patch)
tree73096bfdbb871b0f851c205110b35f6a6da018eb /arch/xtensa
parent5f9e832c137075045d15cd6899ab0505cfb2ca4b (diff)
downloadtalos-op-linux-e3cacb73e626d885b8cf24103fed0ae26518e3c4.tar.gz
talos-op-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.S1
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>
OpenPOWER on IntegriCloud