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: 10443945 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id ADA62602BD for ; Fri, 1 Jun 2018 16:10:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9148C28DA1 for ; Fri, 1 Jun 2018 16:10:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 88D8C28DC2; Fri, 1 Jun 2018 16:10:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id DA40E28E11 for ; Fri, 1 Jun 2018 16:10:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=VnVqpY9Mq67e7Blt68EYe2UXVBNL3Of/IEwGOkKlrLY=; b=H+FR8k9rQDg4+hXNkXuutQRpTZ Lh2nbBODzh8ccT8+Id3D/JP+1ekLPhqITg919aoYKHk9U32/+iJ05zQ42Je457FukOzhZtrWLGZ0F P6MOGS+4SSQOCWCE32BWE3C7NCoCjJhyKNMHGiIHK8kKaZsHnp+52yAdyjiXNkl2djF1aYRsKSKip xA8vm9WaQTmSx+WqekxRXwXcUkhganxMfdockYTcTbOz7krhUyhNb0FEPoMtjJmpCDJ8w0zQ5s1O7 GR0ZX5nULS6lGTBZY0PeEfZXgCwoBYqwdKJVTC5dNUY+Ktq5fxuVdmKllljtSrC4yQobTRskLsuwz G7v0Lzsw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fOmcu-0003iv-3B; Fri, 01 Jun 2018 16:10:04 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fOmc5-00031U-Dw for linux-arm-kernel@bombadil.infradead.org; Fri, 01 Jun 2018 16:09:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=n5MGW/pfF/fJTATDJDJJ2DG14cgfSYeD3F8Z9NccPfo=; b=K/43cIVvxkPffbKCDT2GdKsIY 0SXky2aGzPF8re9ydzVrdsGJBGHMldbSQXlNeTy4KTaLDhD/ag8SOp/17nL+8C5ZUEkpCYsOiDM8B 71ZJ+Wu7rakbKa0z2Yiq4ocvvgcjZ+0o13f0f4Adar5Bubeu1USlTONY/cVz/zfD7/9D+6Q8pHB9a e5L03pAultFNHo0oPTSz2h1QtsHISplNWejEH9B7pZvufRAyu4Xb6s8K4C2jlrGSJ2hMy07bx4JIM cABlOEtVqRfzMO+tkcDp4lo+AYTQaZgJhNrqEncprtNDF/LBSWt04wtC+zgiJVBSKxtz7Y6orLE/o k7j8Etemg==; Received: from foss.arm.com ([217.140.101.70]) by casper.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fOmZP-00029v-GO for linux-arm-kernel@lists.infradead.org; Fri, 01 Jun 2018 16:06:29 +0000 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180601_170627_714560_9FF0DFCE X-CRM114-Status: GOOD ( 10.48 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peterz@infradead.org, yamada.masahiro@socionext.com, Will Deacon , mingo@kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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(-) 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 */