xtensa: fix coprocessor save area
A bad rebase of a patch that moved these defines around unintentionally reverted a necessary change to the coprocessor save area. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
0187280aa8
commit
99c89e17e3
1 changed files with 2 additions and 6 deletions
|
@ -88,11 +88,10 @@ typedef struct s_coopCoprocReg {
|
||||||
*/
|
*/
|
||||||
typedef struct s_preempCoprocReg {
|
typedef struct s_preempCoprocReg {
|
||||||
/*
|
/*
|
||||||
* This structure intentionally left blank, as for now coprocessor's
|
* This structure reserved coprocessor control and save area memory.
|
||||||
* stack is positioned at top of the stack.
|
|
||||||
*/
|
*/
|
||||||
#if XCHAL_CP_NUM > 0
|
#if XCHAL_CP_NUM > 0
|
||||||
char *cpStack;
|
char __aligned(4) cpStack[XT_CP_SIZE];
|
||||||
#endif
|
#endif
|
||||||
} tPreempCoprocReg;
|
} tPreempCoprocReg;
|
||||||
|
|
||||||
|
@ -133,9 +132,6 @@ struct _thread_arch {
|
||||||
* that do not utilize floating point instruction can effectively
|
* that do not utilize floating point instruction can effectively
|
||||||
* consume the memory occupied by the 'tCoopCoprocReg' and
|
* consume the memory occupied by the 'tCoopCoprocReg' and
|
||||||
* 'tPreempCoprocReg' structures without ill effect.
|
* 'tPreempCoprocReg' structures without ill effect.
|
||||||
*
|
|
||||||
* TODO: Move Xtensa coprocessor's stack here to get rid of extra
|
|
||||||
* indirection
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* non-volatile coprocessor's register storage */
|
/* non-volatile coprocessor's register storage */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue