commit | 2f24ef7413a4d91657ef04e77c27ce0b313e6c95 | [log] [tgz] |
---|---|---|
author | Alexey Brodkin <Alexey.Brodkin@synopsys.com> | Wed Nov 29 11:21:45 2017 +0300 |
committer | Vineet Gupta <vgupta@synopsys.com> | Wed Jun 20 16:12:06 2018 -0700 |
tree | 07accc0f1b4b2a5e906b4e6bde4f91ca88b29170 | |
parent | 74c11e300c103af47db5b658fdcf28002421e250 [diff] |
ARC: Enable machine_desc->init_per_cpu for !CONFIG_SMP machine_desc->init_per_cpu() hook is supposed to be per cpu initialization and would seem to apply equally to UP and/or SMP. Infact the comment in header file seems to suggest it works for UP too, which was not the case and this patch. This enables !CONFIG_SMP build for platforms such as hsdk. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Signed-off-by: Vineet Gupta <vgupta@synopsys.com> [vgupta: trimmeed changelog]