commit | e8d2c92abba54f99a6fc907c99a617ecc01bdf4d | [log] [tgz] |
---|---|---|
author | Daniel Leung <daniel.leung@intel.com> | Thu Feb 21 15:05:28 2019 -0800 |
committer | Anas Nashif <anas.nashif@intel.com> | Wed Mar 25 19:07:28 2020 -0400 |
tree | 7c022b42c2227780ab483c4c30cf41c614490020 | |
parent | fc8d66c1194e87d136beabd4a23a547410f10651 [diff] |
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: Daniel Leung <daniel.leung@intel.com>