diff options
author | Alexey Brodkin <Alexey.Brodkin@synopsys.com> | 2017-05-03 11:46:19 +0300 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2017-05-11 00:53:05 +0200 |
commit | 5dc76a4258f6f73a07b12deda73b3e5b085a7e54 (patch) | |
tree | 79fbfd6a30212bfedef4b499e4df9da92d9b5035 /package/utils/bzip2 | |
parent | e06d8f0f6f041c8ac1acba810eea96c32dc983e4 (diff) | |
download | upstream-5dc76a4258f6f73a07b12deda73b3e5b085a7e54.tar.gz upstream-5dc76a4258f6f73a07b12deda73b3e5b085a7e54.tar.bz2 upstream-5dc76a4258f6f73a07b12deda73b3e5b085a7e54.zip |
perf: Disable perf for ARC770 only, enable for ARC HS38
Toolchain built for ARCv1 (read for ARC700 cores) by default has
disabled atomic ops (-mno-atomic). When we build Linux kernel for ARC770
which has LL/SC instructions and thus may handle normally atomic ops we
explicitly add "-matomic" in CFLAGS. But since user-space perf utility has
no way to extract CPU config options from Kconfig/defconfig it uses
compiler default settings.
In case of ARCv2 (read ARC HS38) atomics are enabled by default and so
perf builds perfectly fine thus reenabling perf for ARC HS38 (actually
for non-ARC700 targets).
Signed-off-by: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
Diffstat (limited to 'package/utils/bzip2')
0 files changed, 0 insertions, 0 deletions