From: Max Filippov Date: Thu, 25 Jul 2019 00:39:47 +0000 (-0700) Subject: xtensa: fix build for cores with coprocessors X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=e3cacb73e626d885b8cf24103fed0ae26518e3c4;p=openwrt%2Fstaging%2Fblogic.git 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 --- 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 #include +#include #include #include #include