From patchwork Tue Jun 19 12:53:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Deacon X-Patchwork-Id: 139116 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp5172276lji; Tue, 19 Jun 2018 05:55:07 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLqf/1g8sFoDUr/YyWNv0rcmB2J9zk7YFyPBWhDHGMh/4Rp8C2gfSTaP7xoNUnlOZtrbvsm X-Received: by 2002:a63:770f:: with SMTP id s15-v6mr15204761pgc.30.1529412907579; Tue, 19 Jun 2018 05:55:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529412907; cv=none; d=google.com; s=arc-20160816; b=FERBo9MY7lyINaR1Kkr6jL31eHUlGimuHK456nVAudVOTg+AGGPKsNKzogv8j0mh9e 1q2NMPYHZE6SFm+iyDGnhAydRxZLOxgydhibWvY0TvSg9KtdoLh/oZOls8Cn0/IDlwX+ Fonzo8zmstqZFpIJgNzI3Qun3mWk/j32P9DGmfO7V+WjqxHmrY+cgPBGKZJxLy4Aruy0 sDytqAYM2B/23WqhAWgDRQXNkIk5T1I2uw9ycgWMzox7/g274/ukzTtKXplF7LEnyNKs mkN6buYUsSeltqt+UB6FkWDwHirFDtT2Oun7OVREiU5cq/ZlWbMVJZTS9ZzQLekO7r/D 8OWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=Z/XbD58FafxKZE8LGDDZ7F8R80r4uaO2CAfVYW1/FOY=; b=e0qM90dJ37GSow5Jhhumyze4wMKHqPZmfJHSh7hUogWUqlMmtke9g1JB4oQiN98Acq yJV/bYxEE1C+1bskhZj2ZcPMqiTS5VAJOohuhQt/3r4RkjqUSGh/WQCI9mfOv1WVr3Hv Bv7druPt3DDYGMTfqooi7bSG5aKRF0lWroZDtk6jxTqZu+QarrtJQEXczJ4GimN8S4su NwpvMq5+7Ug0N5esXCZBdxdhZZFwiDc7G4lULFkU1T9lsmFNktbcp4c0DP4biQpU8nw6 Szgkk8gTGx74PNM4fPftXB9TwimiXK21t04jJ7U57w7QtiRpz2/9hl2NPyHrR1ww9bN8 YAkw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v32-v6si17088272plb.273.2018.06.19.05.55.07; Tue, 19 Jun 2018 05:55:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966310AbeFSMyk (ORCPT + 30 others); Tue, 19 Jun 2018 08:54:40 -0400 Received: from foss.arm.com ([217.140.101.70]:49362 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S937861AbeFSMwl (ORCPT ); Tue, 19 Jun 2018 08:52:41 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 251AF168F; Tue, 19 Jun 2018 05:52:41 -0700 (PDT) Received: from edgewater-inn.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id EB5D33F7F4; Tue, 19 Jun 2018 05:52:40 -0700 (PDT) Received: by edgewater-inn.cambridge.arm.com (Postfix, from userid 1000) id 216471AE3797; Tue, 19 Jun 2018 13:53:16 +0100 (BST) From: Will Deacon To: linux-kernel@vger.kernel.org Cc: peterz@infradead.org, mingo@kernel.org, linux-arm-kernel@lists.infradead.org, yamada.masahiro@socionext.com, Will Deacon Subject: [RESEND PATCH v2 9/9] arm64: bitops: Include Date: Tue, 19 Jun 2018 13:53:14 +0100 Message-Id: <1529412794-17720-10-git-send-email-will.deacon@arm.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1529412794-17720-1-git-send-email-will.deacon@arm.com> References: <1529412794-17720-1-git-send-email-will.deacon@arm.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org asm-generic/bitops/ext2-atomic-setbit.h provides the ext2 atomic bitop definitions, so we don't need to define our own. Acked-by: Peter Zijlstra (Intel) Signed-off-by: Will Deacon --- arch/arm64/include/asm/bitops.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) -- 2.1.4 diff --git a/arch/arm64/include/asm/bitops.h b/arch/arm64/include/asm/bitops.h index 13501460be6b..10d536b1af74 100644 --- a/arch/arm64/include/asm/bitops.h +++ b/arch/arm64/include/asm/bitops.h @@ -38,11 +38,6 @@ #include #include #include - -/* - * Ext2 is defined to use little-endian byte ordering. - */ -#define ext2_set_bit_atomic(lock, nr, p) test_and_set_bit_le(nr, p) -#define ext2_clear_bit_atomic(lock, nr, p) test_and_clear_bit_le(nr, p) +#include #endif /* __ASM_BITOPS_H */