Linux kernel ARM exception stack init
问题 I am using Linux kernel 3.0.35 on Freescale i.MX6 (ARM Cortex-A9). After running into a kernel OOPS I tried to understand the exception stack initialization. Here is what I have uncovered so far. In cpu_init() in arch/arm/kernel/setup.c , I see the exception stack getting initialized: struct stack { u32 irq[3]; u32 abt[3]; u32 und[3]; } ____cacheline_aligned; static struct stack stacks[NR_CPUS]; void cpu_init(void) { struct stack *stk = &stacks[cpu]; ...<snip> /* * setup stacks for re-entrant