Message ID | 20210520184705.10845-2-will@kernel.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=3stN=KP=lists.infradead.org=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EFC1AC433B4 for <linux-arm-kernel@archiver.kernel.org>; Thu, 20 May 2021 18:49:45 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B924E606A5 for <linux-arm-kernel@archiver.kernel.org>; Thu, 20 May 2021 18:49:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B924E606A5 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=V/WRsDVezbhTOQsqGqO/OpJzoOkOYTFrSRzacKXp8IQ=; b=U/BcOFU6YHp3YS2k+AOovUgVGG jQxAkN5Y8GJvUI5jAHszbX1z0fP1EZHSxwmDyRoRzneGlnenLOjo1JCSu53zvGy80S05R5LUTiJfm 4eLDXrqawQPXPzmoTXquWDlBd+YUBBfVU7YEBLy8YW9i/xXP7f48Pp2cX1P6QAyfYxhY23636s/SB jTEcLaNAuS9n03H+evd1/EX+qJxN7wae4dNp/oyDonqzAwYKzzXVTrSKKz95s2F/Y7dHI388pg8EG SG1la9dVRIc8Zoow28oeFOzqJP7xYSUB8Hg+X13iRVjtDjJYXMy0jrY+aNjsl6SRY6A2osA82Kd3i mids9o7g==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ljnhu-002Jom-Be; Thu, 20 May 2021 18:47:42 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ljnhf-002JlT-Du for linux-arm-kernel@desiato.infradead.org; Thu, 20 May 2021 18:47:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=SxOKfSsGOjcUyfJiQMWz5FONO8chf1uE3d7KNUrA2fQ=; b=kxnY3wJhO0ldV0ofMupVK9Tdpr TGzzyDfLqSR8xkQB75DuhhZjZOsoJQQqPgWE+IKav984wOOdtJXTI+F7N195TX5s91Iy1rVvviVmG jysclY4uDzbin3G6NW9ytMzPFLcm0sQWfEl2jVlbPipeZDCrIFNZpkW4B/IwHgaFdUUvgwgC8a3qW Uj+wZvOUeLCHytboSnTPnKHbaamn08drvU7HT6ewqJhDlCmLDtAt/+T+RFlEr3oUNzyxYbUJ6oYNd fGkOVckURZxHj5vVjPpULCI0CQfUfHeDs5f0NGU29M2yse1DveLdPPv7cYF2Q31RNVNASxCDM57Or suvQKFWw==; Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1ljnhd-00GaDm-1v for linux-arm-kernel@lists.infradead.org; Thu, 20 May 2021 18:47:26 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0FC3C611AB; Thu, 20 May 2021 18:47:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1621536444; bh=+VJpt92mcBbsUrWh9kr31YWl1BdzjiW1yi5tLRR3Csk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=q8UVoynLOLpMdIppIYneX64kan/QxB9SBJsGaUmcr5PnjSABQGsROy8nPsL3fK6gh bngoy/uD8IUbEtSpdr+zOuqDeAu6e07XKTOdYFVrGupcmjxsV6z6hMPFG3feqe4P7B woBW90ftxJJSm7cvgc1tm6iQHbdpM5LkqI3RQZ4T1YZUwQZ2qEKI2uD4buySSvLhpg tv5dLt07y6gVg4aZYg6zNk1Yvn6dy1iAzjujmrh3iUXaXq1KgLvyqJESGGaOa5T3bU g4IbgAfxSEVW30Z3uZLiKbypu+U9PER2HlwZu91l0QYLWzyQ3ZH6sCHLnnfb25jK9q BvuT6x2Ma7s2g== From: Will Deacon <will@kernel.org> To: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org, Will Deacon <will@kernel.org>, Frederic Weisbecker <fweisbec@gmail.com>, Thomas Gleixner <tglx@linutronix.de>, Marc Zyngier <maz@kernel.org>, Lorenzo Colitti <lorenzo@google.com>, John Stultz <john.stultz@linaro.org>, Stephen Boyd <sboyd@kernel.org>, kernel-team@android.com Subject: [PATCH 1/5] tick/broadcast: Drop unneeded CONFIG_GENERIC_CLOCKEVENTS_BROADCAST guard Date: Thu, 20 May 2021 19:47:01 +0100 Message-Id: <20210520184705.10845-2-will@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210520184705.10845-1-will@kernel.org> References: <20210520184705.10845-1-will@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210520_114725_133522_A4DE6FFC X-CRM114-Status: GOOD ( 10.75 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 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> 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+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
tick/broadcast: Allow per-cpu timers to be used instead of broadcast
|
expand
|
diff --git a/kernel/time/tick-broadcast.c b/kernel/time/tick-broadcast.c index a44055228796..fb794ff4855e 100644 --- a/kernel/time/tick-broadcast.c +++ b/kernel/time/tick-broadcast.c @@ -253,7 +253,6 @@ int tick_device_uses_broadcast(struct clock_event_device *dev, int cpu) return ret; } -#ifdef CONFIG_GENERIC_CLOCKEVENTS_BROADCAST int tick_receive_broadcast(void) { struct tick_device *td = this_cpu_ptr(&tick_cpu_device); @@ -268,7 +267,6 @@ int tick_receive_broadcast(void) evt->event_handler(evt); return 0; } -#endif /* * Broadcast the event to the cpus, which are set in the mask (mangled).
tick-broadcast.o is only built if CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y so remove the redundant #ifdef guards around the definition of tick_receive_broadcast(). Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Marc Zyngier <maz@kernel.org> Cc: Lorenzo Colitti <lorenzo@google.com> Cc: John Stultz <john.stultz@linaro.org> Cc: Stephen Boyd <sboyd@kernel.org> Signed-off-by: Will Deacon <will@kernel.org> --- kernel/time/tick-broadcast.c | 2 -- 1 file changed, 2 deletions(-)