Skip to content

Commit e3cacb7

Browse files
committed
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>
1 parent 5f9e832 commit e3cacb7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/xtensa/kernel/coprocessor.S

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
#include <linux/linkage.h>
1616
#include <asm/asm-offsets.h>
17+
#include <asm/asmmacro.h>
1718
#include <asm/processor.h>
1819
#include <asm/coprocessor.h>
1920
#include <asm/thread_info.h>

0 commit comments

Comments
 (0)