smp : clean up multi-core code due to readability
Merge pull request #222 from joohyun0115/v1

smp : clean up multi-core code due to readability