From patchwork Thu Feb 15 15:29:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Deacon X-Patchwork-Id: 128491 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp2015212ljc; Thu, 15 Feb 2018 09:55:22 -0800 (PST) X-Google-Smtp-Source: AH8x227/CWlJ8PRKAh9lIAEQ1AkYscGP5ryaxdLoIu4K/GaCRKA9RWkztiz4eRfmkwq2VbFt85No X-Received: by 10.99.188.2 with SMTP id q2mr2898730pge.101.1518717322645; Thu, 15 Feb 2018 09:55:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518717322; cv=none; d=google.com; s=arc-20160816; b=n6h2xsJH+bME3rfksJubrCyW9C0rMqIz2S3K++a9BerjhvmaFO1iZkYCuh+n+WKn4N ncEMFgVthFVYebMclWYXCpK6+7wgooZD6qumTNp9NbkAPnDY1836hstWjtDR2hWbnBkM PT1ASVWB46csZjbvjIg7WrbNIRx/Yak5ZUqNt7wT/qKFlLWvHzWctGSgPeaGBfqlVA4p REKS1A7ZK5+I0yww9FtQIZqldf+Ojw195KNYbQAimRHrU/DbA9s56gCiSutXjh7R0gYC RR+zZAieI+nvLo/11/YJllyKKwRw6HfbOiZhA6TiaEa1v7imkv+PSUD5VLrJlhl7XZqQ I8yA== 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=SMO6lswS/OwEUvMNDTWIoFbQ4cdk26/MVVVLIZrPKek=; b=xfCerjUcROv/3Ic1fF7YqsYVIBr9j0Oh1vLXzz8XuC3Z6wsEBMM4ji0C2Z46uY8D/Z g/I9J+/VVex4Y0KAwU0jEym9d+bEepRyE3plkvrlgbIUY/4sklNoRvMOO0sFFM6LruNU MM6evXV4Jd6lCwMs3EH+ko8EP542EmzfgVH8bKo+ARVZaInPnxSJoNLKmsjyYWjsQ2OC H8VWaCRCx9TsoxBM1NfIXyu6zu1uLmCt7D4smvHrZ5vM8FBXzoXAtCwVakjT9hMg1vC5 8rafjEFm0OjvCi1zLMz4USGoovFSUzovikMSW5uYup73RauU6ocpsXoJ3xPpgO6y0CY4 guUA== 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 q17si1923562pfg.301.2018.02.15.09.55.21; Thu, 15 Feb 2018 09:55:22 -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 S1946151AbeBORzS (ORCPT + 28 others); Thu, 15 Feb 2018 12:55:18 -0500 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:56002 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1164190AbeBOPaP (ORCPT ); Thu, 15 Feb 2018 10:30:15 -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 29A8C165C; Thu, 15 Feb 2018 07:30:15 -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 F009D3F24D; Thu, 15 Feb 2018 07:30:14 -0800 (PST) Received: by edgewater-inn.cambridge.arm.com (Postfix, from userid 1000) id CBCF81AE546B; Thu, 15 Feb 2018 15:30:21 +0000 (GMT) From: Will Deacon To: linux-kernel@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, peterz@infradead.org, mingo@kernel.org, Will Deacon Subject: [RFC PATCH 5/5] arm64: bitops: Include Date: Thu, 15 Feb 2018 15:29:35 +0000 Message-Id: <1518708575-12284-6-git-send-email-will.deacon@arm.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1518708575-12284-1-git-send-email-will.deacon@arm.com> References: <1518708575-12284-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 817233fbf249..564ffe562b7a 100644 --- a/arch/arm64/include/asm/bitops.h +++ b/arch/arm64/include/asm/bitops.h @@ -37,11 +37,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 */