Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
xtensa: selectively init interrupt stack at boot
During arch_kernel_init(), the interrupt stack is being initialized. However, if the current in-use stack is the interrupt stack, it would wipe all the data up to that point in stack, and might result in crash. So skip initializing the interrupt stack if the current stack pointer is within the boundary of interrupt stack. Signed-off-by: Daniel Leung <daniel.leung@intel.com>
- Loading branch information