From patchwork Fri Jun 1 16:06:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Deacon X-Patchwork-Id: 137542 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp1127160lji; Fri, 1 Jun 2018 09:06:47 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLEyKSTWZjwTKwq3jkJa95QVywdmLPKDGGqPsCN6cevrmjZxGOoLRaet+YUtLkLxDKNFQbs X-Received: by 2002:a17:902:a9c1:: with SMTP id b1-v6mr11931501plr.181.1527869207069; Fri, 01 Jun 2018 09:06:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527869207; cv=none; d=google.com; s=arc-20160816; b=x05f/dmzb5GVjd7fGrkVKRacqTzfHI3ft34V4dyxtivC1zHb5wuCbiIIwlVIMzDxIB tfWDbq02EDbMKfDJ4nt6JvN99kGYYoUCEpL9+LsfPSCpWl3202UHtPFqAblhYGEpsek4 qNcO5qRTndD2Urmf4tX3rltTDy+8KCvN7a1nZuXRPRsbZAo6ZJhrMi9w8dDc3WR6b+Zb cPlwWsgQUL12Lsq+L81kcbS5ebQharhYcfyB0qb6YY8qKHyXGfoZkrxxkgLCLaIQZZC4 GODoBWASuEV8V2C/aR46zZFaWQV1SPOjbzQpEI5IRYErWpuWxbD6GDgcpZSLZXPAbyxV Uvtg== 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=n5MGW/pfF/fJTATDJDJJ2DG14cgfSYeD3F8Z9NccPfo=; b=jTvannyDiUHFWHaENR2y1U0668eGm2YR4xO7C/ZP4e4Ib+rR3YnIIH3IfOK11WDXun TC5hh7x2Czh37M+VwFlcjFIc8dmu3wwW+ffivlKKlZgrtwRQhMAw83kEtGoiIURjdFUp 2lKxgopDOZwPwyP11fpfqUUIXnvuCBh6Q+dMMp8JiF7zPqZEeDUZrG/WEDgC3bohc2sB T49C+/de4y5WdKStAehJxNGvry3E8gh5xwU7vU09Axay5sW9mE6Zz9RcPQSDx95yiSvu //X6MI59ZHGeZs3cxV43uUXIzgA23i7JpToTAXq9YPhHFDxi1dg9n0lx91oeTTKD0wXi X2iw== 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 l30-v6si39778664plg.420.2018.06.01.09.06.46; Fri, 01 Jun 2018 09:06:47 -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 S1753197AbeFAQGp (ORCPT + 30 others); Fri, 1 Jun 2018 12:06:45 -0400 Received: from foss.arm.com ([217.140.101.70]:55038 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752486AbeFAQGB (ORCPT ); Fri, 1 Jun 2018 12:06:01 -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 C294816A0; Fri, 1 Jun 2018 09:06:00 -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 952DF3F855; Fri, 1 Jun 2018 09:06:00 -0700 (PDT) Received: by edgewater-inn.cambridge.arm.com (Postfix, from userid 1000) id A39391AE51B2; Fri, 1 Jun 2018 17:06:30 +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: [PATCH v2 9/9] arm64: bitops: Include Date: Fri, 1 Jun 2018 17:06:29 +0100 Message-Id: <1527869189-31512-10-git-send-email-will.deacon@arm.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1527869189-31512-1-git-send-email-will.deacon@arm.com> References: <1527869189-31512-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. 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 */