From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752121AbbJRXO5 (ORCPT ); Sun, 18 Oct 2015 19:14:57 -0400 Received: from mga14.intel.com ([192.55.52.115]:48608 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751409AbbJRXOz (ORCPT ); Sun, 18 Oct 2015 19:14:55 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,699,1437462000"; d="scan'208";a="666897173" From: Andi Kleen To: Alexey Brodkin Cc: Vineet Gupta , Aabid Rushdi , "linux-kernel\@vger.kernel.org" , "peterz\@infradead.org" , "linux-perf-users\@vger.kernel.org" , "dvhart\@linux.intel.com" , "dsahern\@gmail.com" , "acme\@redhat.com" Subject: Re: [RFC] perf: fix building for ARCv1 References: <1445088959-3058-1-git-send-email-abrodkin@synopsys.com> <1445166916.9672.10.camel@synopsys.com> Date: Sun, 18 Oct 2015 16:14:54 -0700 In-Reply-To: <1445166916.9672.10.camel@synopsys.com> (Alexey Brodkin's message of "Sun, 18 Oct 2015 11:15:16 +0000") Message-ID: <87a8rf6a6p.fsf@tassilo.jf.intel.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Alexey Brodkin writes: > > So the best we may do is to implement detection of atomics in the toolchain and if there's no atomics hard stop with > perf building. If your target is single cpu only you can always simulate them in C. -Andi