From patchwork Mon Feb 26 15:05:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Deacon X-Patchwork-Id: 129669 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp300998lja; Mon, 26 Feb 2018 07:06:28 -0800 (PST) X-Google-Smtp-Source: AH8x227XHWo6TbG12tIsWy34/Pu3ae5mPTNFCfEFhWv4qoOq6Fe/Sv0EIcgaNYrgYoqi9oyhI1UN X-Received: by 10.99.110.199 with SMTP id j190mr8663768pgc.404.1519657588310; Mon, 26 Feb 2018 07:06:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519657588; cv=none; d=google.com; s=arc-20160816; b=nYWi3F9Ac4COWyu+Rv4OfI9hhVBiIXV0xbUiNX5ZuOFCHuR5SWx/E7DXO3cbHLro5a 1r7sWOUZ8aV9nOGg71/j6XaY0MBHrYQPrRPhG88GdLKV9nXLQjHNsvWmVKIt0TGgc1aV JCCe00KzdWtmnvfMv0wYLuScCZij+Eh5Rwkqu/61iZrfMPQIDgBocl+a167ttrKx3gAS cV4QEv0UBgs1kMG2NX5k/uEZ5hm7hB6r3zDXAcsuiHenfujQ11b+cjahOH5zlD3lYqa4 X3etKjx31aHYzIZIE7uOmQgb0RrdjdyOfTtbdryuitMKHSihlmQyIGaikjGsLA2N/rOx j5aA== 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=vR6K3KCMYoBT96OsdhPDPebHxzFlaYinlEpHvxeJU9BE3CqjoIQdacBZ+sqFPl1EUB BW15cWj5e5ZtTJHVKZnS4wc230875Xt4ah2mM1YPHaPEddmWWvzfGP38Ee7i4pMm7mWg FogNkiGRhHfxnkNtrcSjkucSFggTApR4lffiRC+i+dIc+Du6tqg6J4FIrghzoMx5S00h X/0SEQypYGhh9EamdUzNfhZ59IjhjWYX047v+wi5XlMyCSs2VkNmGdz/EQd3BsrCemnU 3pkp6i9WsGsgZFsqdKVveIhgwP3BXNNpJ5QQDda4Q/kxtno97dSKJdXj9mSH27STQVcd wA+g== 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 e16-v6si6926861pli.337.2018.02.26.07.06.27; Mon, 26 Feb 2018 07:06:28 -0800 (PST) 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 S1754163AbeBZPGY (ORCPT + 28 others); Mon, 26 Feb 2018 10:06:24 -0500 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:51204 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754010AbeBZPFB (ORCPT ); Mon, 26 Feb 2018 10:05:01 -0500 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 1B1EF1993; Mon, 26 Feb 2018 07:05:01 -0800 (PST) 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 E19193F614; Mon, 26 Feb 2018 07:05:00 -0800 (PST) Received: by edgewater-inn.cambridge.arm.com (Postfix, from userid 1000) id 2382D1AE53B4; Mon, 26 Feb 2018 15:05:02 +0000 (GMT) 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: [RFC PATCH v2 12/12] arm64: bitops: Include Date: Mon, 26 Feb 2018 15:05:00 +0000 Message-Id: <1519657500-15094-13-git-send-email-will.deacon@arm.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1519657500-15094-1-git-send-email-will.deacon@arm.com> References: <1519657500-15094-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 */