xtensa: fix build warning if no coprocessors present
Change-Id: Ib754795eff073500a38e4b383268b4f90c1763a7 Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
0cfeb626c0
commit
de099439b1
1 changed files with 2 additions and 0 deletions
|
@ -91,7 +91,9 @@ void _new_thread(char *pStack, size_t stackSize,
|
|||
(XCHAL_TOTAL_SA_ALIGN < 16 ? 16 : XCHAL_TOTAL_SA_ALIGN));
|
||||
/* TCS is located at top of stack while frames are located at end of it */
|
||||
struct tcs *tcs = (struct tcs *)(pStack);
|
||||
#if XCHAL_CP_NUM > 0
|
||||
uint32_t *cpSA;
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_DEBUG
|
||||
printk("\nstackPtr = %p, stackSize = %d\n", pStack, stackSize);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue