To simplify running startup code on all CPUs run platform_late_init on all
cpus. As some code may need to be run only on the boot core check for
curcpu being zero before running it.
Details
Details
- Reviewers
- None
- Group Reviewers
ARM
Diff Detail
Diff Detail
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 9261 Build 9714: arc lint + arc unit
Event Timeline
Comment Actions
Nothing strong, but I would probably prefer a new method for late init on secondary cores, instead of reusing of platform_late_init() - something like platform_mp_late_init.
Code sharing between BP / AP will be very rare, i think.
Comment Actions
BTW, it looks that we do not have a variable with boot cpu number. If it's true, I would suggest to have it for cases like this.