Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2427029pxj; Mon, 10 May 2021 02:41:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyp6vbIfdNfZQfKsAahgnlkJaifCCQJAoDxPNIcrzXSZ5T1+E9QzanJwenr0Hsd0Y6KI6qo X-Received: by 2002:a02:bb98:: with SMTP id g24mr20491479jan.19.1620639698699; Mon, 10 May 2021 02:41:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620639698; cv=none; d=google.com; s=arc-20160816; b=EpGv0Jx9gcfgyQyB6rLnJr/lXPSXnpNwA1KfUQmtwWnKHyb2MSCf5FTh8+9m1ma1wu 5+bxRTh89Iew6tF2YJTkVUGz9j8ebi0vkFllAtKLUrff7aOX7cq1a23VxxKwYszBMgcB khg6oTWepFgWzQ8ob4NXa0pc8uxqxi5zbVIDgSJF9hC1usQXuNi80PguejpZCYrkIGqo eGyttuNqrwRMhz/mr8uYQ6NKxnEbaOE41oGZ6hh8oujMdDKiSwJ18fQAPnHTQTTMBSy+ Y5gaooLb+roEkObSKU6zz/ViWYXFMke2EgVQoi6c0ndQ7c7f7ITU3YSHJnSh9bO4ETgW w96Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=OxFkqrsBucMazoAGgBJ0YkMor4TkDSQLTju6eRNTGsk=; b=DaUFk0irB2iewOPklLYfL0vvTOn7rwaIuWs8iVUA0FrOwUab22w9yGX1DwqDyqMPOD Y4WCz2QhKM9fC/ZLfvabhIummV7y6qnsB9XQDN7lC4a70h6v2fTSuMXq4FEEojYuwOa4 9hxpY+Ju37VcZAHWCUBFN/DvZZQRcYyeeWr0eFnQ084wfXedqY4+OH+E42Ic9RR+IGDO ovSBZwrg/jGry0SRE8TWH6dzb+h0MeHdZs0YituBYCTfMxBTdw0UxI2H8ozif1qXEUCC 9oLxNmnMRPgiscKN11RwjjrO3ThLQQa7whHo6COEoLDzpLfF3Q3sKvh3xe831mHs/m/O FVWg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y10si12700476ill.98.2021.05.10.02.41.26; Mon, 10 May 2021 02:41:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230285AbhEJJlO (ORCPT + 99 others); Mon, 10 May 2021 05:41:14 -0400 Received: from foss.arm.com ([217.140.110.172]:50782 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230393AbhEJJlM (ORCPT ); Mon, 10 May 2021 05:41:12 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id DB599142F; Mon, 10 May 2021 02:40:07 -0700 (PDT) Received: from lakrids.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 9A8C13F73B; Mon, 10 May 2021 02:40:03 -0700 (PDT) From: Mark Rutland To: linux-kernel@vger.kernel.org, will@kernel.org, boqun.feng@gmail.com, peterz@infradead.org Cc: aou@eecs.berkeley.edu, arnd@arndb.de, bcain@codeaurora.org, benh@kernel.crashing.org, chris@zankel.net, dalias@libc.org, davem@davemloft.net, deanbo422@gmail.com, deller@gmx.de, geert@linux-m68k.org, green.hu@gmail.com, guoren@kernel.org, ink@jurassic.park.msu.ru, James.Bottomley@HansenPartnership.com, jcmvbkbc@gmail.com, jonas@southpole.se, ley.foon.tan@intel.com, linux@armlinux.org.uk, mark.rutland@arm.com, mattst88@gmail.com, monstr@monstr.eu, mpe@ellerman.id.au, nickhu@andestech.com, palmer@dabbelt.com, paulus@samba.org, paul.walmsley@sifive.com, rth@twiddle.net, shorne@gmail.com, stefan.kristiansson@saunalahti.fi, tsbogend@alpha.franken.de, vgupta@synopsys.com, ysato@users.sourceforge.jp Subject: [PATCH 07/33] locking/atomic: atomic: remove redundant include Date: Mon, 10 May 2021 10:37:27 +0100 Message-Id: <20210510093753.40683-8-mark.rutland@arm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20210510093753.40683-1-mark.rutland@arm.com> References: <20210510093753.40683-1-mark.rutland@arm.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since commit: 560cb12a4080a48b ("locking,arch: Rewrite generic atomic support") ... we conditionally include before defining atomics using locking, and hence do not need to do so unconditionally later in the header. This patch removes the redundant include. Signed-off-by: Mark Rutland Cc: Boqun Feng Cc: Peter Zijlstra Cc: Will Deacon --- include/asm-generic/atomic.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/asm-generic/atomic.h b/include/asm-generic/atomic.h index ebacbc6b363b..d4bf803d6491 100644 --- a/include/asm-generic/atomic.h +++ b/include/asm-generic/atomic.h @@ -143,8 +143,6 @@ ATOMIC_OP(xor, ^) #define atomic_set(v, i) WRITE_ONCE(((v)->counter), (i)) -#include - static inline void atomic_add(int i, atomic_t *v) { atomic_add_return(i, v); -- 2.11.0