Skip to content
Commit e8d2c92a authored by Daniel Leung's avatar Daniel Leung Committed by Anas Nashif
Browse files

arch/xtensa: smp: only zero BSS only when boot from CPU #0



Under SMP, the main BSS section only needs to be zero-ed on CPU #0.
Other CPUs should not zero out BSS, or else it may cause CPU #0 to
crash on invalid data.

Signed-off-by: default avatarDaniel Leung <daniel.leung@intel.com>
parent fc8d66c1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment