nios2: assume IRQ stack pointer and size already aligned

This is now done in nano_init.c.

Change-Id: I6a55df8c33e23a0899fb4186696a6601e3f01aa3
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
Andrew Boie 2016-07-20 12:41:48 -07:00
commit 7a6272f846
2 changed files with 4 additions and 12 deletions

View file

@ -164,8 +164,7 @@ void nano_cpu_atomic_idle(unsigned int key);
static ALWAYS_INLINE void nanoArchInit(void)
{
_nanokernel.irq_sp = (char *)STACK_ROUND_DOWN(_interrupt_stack +
CONFIG_ISR_STACK_SIZE);
_nanokernel.irq_sp = _interrupt_stack + CONFIG_ISR_STACK_SIZE;
}
static ALWAYS_INLINE void fiberRtnValueSet(struct tcs *fiber,