Message ID | 1529412794-17720-6-git-send-email-will.deacon@arm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> 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 B4CBE601D7 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 19 Jun 2018 13:11:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A930028C04 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 19 Jun 2018 13:11:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A827928C15; Tue, 19 Jun 2018 13:11:16 +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 3532E28C04 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 19 Jun 2018 13:11:00 +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=fum2bq+j2zXQwfcSPoDinKCwack/w0SqdUy5AQIXWEs=; b=CL+4Oxs1aIuhwewdbqUUiHq+h9 W7/4gPR9xumPYbJqgZtG/sjHLnXL36x532lOov2Iow78ZlnvzLU0NyyNtXk3aU9pNTjhKEKlBJyGA slpnBuevB095I1+ub3f1mMdLeKr/8cm6hwi6g7k8i33dorUjrHKYzYpzHifuBWIaDaTs4dfCa0CF1 TmQ0zBrjECdaUX/uNg+ZD/IA87FebarcInJifjcWXzA0qqw/hk+cUKnOZwq1Eb4XQb1MZ/EyVYebD zeaRAT5SIRNiRoI7RxKBFTl8Q+cEZYgzfXNyAaFlYl9BEH3zOAvEK2WkUiIgXuuJ6tMkoBqPz59I3 L7EDYtGQ==; 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 1fVGPK-0007C4-EX; Tue, 19 Jun 2018 13:10:50 +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 1fVGNy-0004qo-7K for linux-arm-kernel@bombadil.infradead.org; Tue, 19 Jun 2018 13:09:26 +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=//QOMuPzMbUFU/Px57jKoaHSiE9SJM4w4mLtMoekew8=; b=plJsGiK4p9Z5lJJ4oHTVSFSeK Tbpz5Chxxug6vu4LH2FKIXyt0ipdzG0h18Uow4+gRSTL+kzKNDf+Z4uWRvCWbOE6lk+CrEsFful1+ bjQiex+1Ek0lXKTTxVrB0EtDdkbbXjyf2VabN/h7GAJqMBjiXUQYEvEjArZm/0c6nN5bqY0JgJKLf +7a27OV6BClQvUUkpEDOou1vCUgLEww+PE425ZfABSpVClRcrRGI6d6EL4RRtK54B0kBZ67L1fCuN IA3a00BgDc8KbCgujXD/qt0MNf6DyKguyE7VFy6Wrcd+Cs0Ex9di0UO/sPzI7WwCa0uw6MJUYsbx8 C6OcOKO8Q==; Received: from foss.arm.com ([217.140.101.70]) by casper.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fVG87-0001oJ-8v for linux-arm-kernel@lists.infradead.org; Tue, 19 Jun 2018 12:53:06 +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 09418165C; Tue, 19 Jun 2018 05:52:41 -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 CF18D3F59C; Tue, 19 Jun 2018 05:52:40 -0700 (PDT) Received: by edgewater-inn.cambridge.arm.com (Postfix, from userid 1000) id CC47F1AE36A0; Tue, 19 Jun 2018 13:53:15 +0100 (BST) From: Will Deacon <will.deacon@arm.com> To: linux-kernel@vger.kernel.org Subject: [RESEND PATCH v2 5/9] sh: Don't pull in all of linux/bitops.h in asm/cmpxchg-xchg.h Date: Tue, 19 Jun 2018 13:53:10 +0100 Message-Id: <1529412794-17720-6-git-send-email-will.deacon@arm.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1529412794-17720-1-git-send-email-will.deacon@arm.com> References: <1529412794-17720-1-git-send-email-will.deacon@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180619_135303_534942_2BCC93A8 X-CRM114-Status: GOOD ( 10.85 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: peterz@infradead.org, yamada.masahiro@socionext.com, Will Deacon <will.deacon@arm.com>, mingo@kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/arch/sh/include/asm/cmpxchg-xchg.h b/arch/sh/include/asm/cmpxchg-xchg.h index 1e881f5db659..593a9704782b 100644 --- a/arch/sh/include/asm/cmpxchg-xchg.h +++ b/arch/sh/include/asm/cmpxchg-xchg.h @@ -8,7 +8,8 @@ * This work is licensed under the terms of the GNU GPL, version 2. See the * file "COPYING" in the main directory of this archive for more details. */ -#include <linux/bitops.h> +#include <linux/bits.h> +#include <linux/compiler.h> #include <asm/byteorder.h> /*