xtensa: Avoid including handlers when no coprocessor is available

Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
This commit is contained in:
Gustavo Henrique Nihei 2022-09-02 09:10:52 -03:00 committed by Xiang Xiao
parent 274c085c4a
commit a5b006a891

View File

@ -69,7 +69,10 @@
#include "chip.h"
#include "syscall.h"
#include "xtensa_asm_utils.h"
#include "xtensa_coproc.S"
#if XCHAL_CP_NUM > 0
# include "xtensa_coproc.S"
#endif
/****************************************************************************
* Public Functions