Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1985983imm; Thu, 24 May 2018 04:04:10 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpIhu7b4AuzvyOpT29d7G8volxecS+p8Tq1C4VhDuVN40m6md46NxDNjOLTseb9X/W4Ucb/ X-Received: by 2002:a62:6883:: with SMTP id d125-v6mr6825361pfc.26.1527159850177; Thu, 24 May 2018 04:04:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527159850; cv=none; d=google.com; s=arc-20160816; b=Xny78jQ7TznsCEuI8ERuUaOdMjSw0aQ0NGFda1rz1+v2FXJ9LRZ+lFVZNFPDRHUvaA 89DcFaC0S0LncBJUWmw8vg6xd84Fz5pshCmzn4T+KCfc0E1f89VR9KRs7b661cbbl8qr vZWHmI8a/RHgaVa+PNSGW4+9tG8y4bcm0ZPvK+vE8rw28fxATzC1mmCv8g0ZSLVmya0U ipmycQWGnwKsX3t2yFqWpIDutzFVem63TewA9hvWAgBc+KDmpZJaSnRL9ZygN9jwNKEv GEblylPs5uruA2BIVaQR8gbf3Q9a2ldENs9bZLgqUS5HO+gRecou78KCfMhxBPF8P1dO fqUg== 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=pxF4RS6clAZiE6MUih7D0oblbZny9+ceGY3pw0/vKolwcsgk4wfjldlf0P84bSk5M0 2QuToq8gNR2EHCfxiEhWkY+5zplU/WSe60jZ3RESXbhOabAebL/QDplugpF+4fXh9tqT ViwDqnjws3uBrVdJxVl/mAvEPMCkJf9qmn6GcGJQNKbD97eXjs+aWwirqoB5xTefGQvr ob5CtzpL4wVUNNpDMyI41daaVmBQR9F0lsG19OPyDVD0FBHvZZy1AIbD2n8tu5dB23fH pK9s9foB8LXPwDHMb6S9vLxg2hYBMy+GP33V+g2eDO2R24JBf/mWybOHD4CHy20d+GHX uA3Q== 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 d8-v6si15980362pgu.671.2018.05.24.04.03.47; Thu, 24 May 2018 04:04:10 -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 S1032854AbeEXLBt (ORCPT + 99 others); Thu, 24 May 2018 07:01:49 -0400 Received: from foss.arm.com ([217.140.101.70]:41008 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030356AbeEXK7V (ORCPT ); Thu, 24 May 2018 06:59:21 -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 8A4AF174E; Thu, 24 May 2018 03:59:20 -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 5ACCB3F855; Thu, 24 May 2018 03:59:20 -0700 (PDT) Received: by edgewater-inn.cambridge.arm.com (Postfix, from userid 1000) id DF6641AE3ACE; Thu, 24 May 2018 11:59:47 +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 9/9] arm64: bitops: Include Date: Thu, 24 May 2018 11:59:46 +0100 Message-Id: <1527159586-8578-10-git-send-email-will.deacon@arm.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1527159586-8578-1-git-send-email-will.deacon@arm.com> References: <1527159586-8578-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(-) 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 */ -- 2.1.4