commit | 5dbb1c974f2beeaf9e2aa6169cc58ca78de9eeb5 | [log] [tgz] |
---|---|---|
author | Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> | Tue Nov 28 16:48:40 2017 +0300 |
committer | Alexey Brodkin <abrodkin@synopsys.com> | Mon Dec 11 11:36:22 2017 +0300 |
tree | 638668beac9953ea443ae983b90ec5146f0c5193 | |
parent | 5d4e996e279ba703e18f4f9ca73fc0e757921e04 [diff] |
ARC: add macro to get CPU id ARCNUM [15:8] field in ARC_AUX_IDENTITY register allows us to uniquely identify each core in a multi-core system. I.e. with help of this macro each core may get its index in SMP system. Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>