From nobody Fri Jun 19 09:50:21 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DA441C433F5 for ; Tue, 5 Apr 2022 10:08:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352705AbiDEKE6 (ORCPT ); Tue, 5 Apr 2022 06:04:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238284AbiDEIa1 (ORCPT ); Tue, 5 Apr 2022 04:30:27 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 072B424F2E; Tue, 5 Apr 2022 01:22:03 -0700 (PDT) Date: Tue, 05 Apr 2022 08:22:00 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1649146921; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=n+duiD32iMvOs7dnQ0Ve1PZwuaC4V1bdhbWLDOYKenw=; b=chCsgVPjZfQX/R6PhO14giuawgRJTUop2TWpJfXrr7zTnkrVw/28FNWKVJCtGY8yNXSfEh aQS9NTIYkFRS2TzrA0X8gw3XseAG+OT2itmxhbnnX9F/LhkFJQClnqRjgI8wyfOzMlhqCR ipfFVH+PqYaOqrs9DBGy0BPkuKivEJk3HoiM4G/Kdqli2udnUkGcRjdijraYqGJ8FEjKu1 N6QvPyOTMERyW1ENJQDmn6HQbTfR7bTXJ5fQ6KbAblPWcKHPZ5uAkMNeBhkHenJbvlxJxX AdhbpNIjkL1oWDPr+runaDJBCrPj6DclnZjfU+a3w6OqhPPDBmqqw0FGoit9lA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1649146921; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=n+duiD32iMvOs7dnQ0Ve1PZwuaC4V1bdhbWLDOYKenw=; b=EB1uS2Id7A4PZsS3NE1y8bmGcrI6KLBEAqCZ9jqSn2JrQIxfS9gR596j/KqpdBpjfY98tC Tv2Bi8mRhLgcSGAQ== From: "tip-bot2 for Sven Schnelle" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: sched/urgent] entry: Fix compile error in dynamic_irqentry_exit_cond_resched() Cc: Sven Schnelle , "Peter Zijlstra (Intel)" , Mark Rutland , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20220330084328.1805665-1-svens@linux.ibm.com> References: <20220330084328.1805665-1-svens@linux.ibm.com> MIME-Version: 1.0 Message-ID: <164914692031.389.12455051042732550539.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the sched/urgent branch of tip: Commit-ID: 0a70045ed8516dfcff4b5728557e1ef3fd017c53 Gitweb: https://git.kernel.org/tip/0a70045ed8516dfcff4b5728557e1ef3f= d017c53 Author: Sven Schnelle AuthorDate: Wed, 30 Mar 2022 10:43:28 +02:00 Committer: Peter Zijlstra CommitterDate: Tue, 05 Apr 2022 09:59:36 +02:00 entry: Fix compile error in dynamic_irqentry_exit_cond_resched() kernel/entry/common.c: In function =E2=80=98dynamic_irqentry_exit_cond_resc= hed=E2=80=99: kernel/entry/common.c:409:14: error: implicit declaration of function =E2= =80=98static_key_unlikely=E2=80=99; did you mean =E2=80=98static_key_enable= =E2=80=99? [-Werror=3Dimplicit-function-declaration] 409 | if (!static_key_unlikely(&sk_dynamic_irqentry_exit_cond_res= ched)) | ^~~~~~~~~~~~~~~~~~~ | static_key_enable static_key_unlikely() should be static_branch_unlikely(). Fixes: 99cf983cc8bca ("sched/preempt: Add PREEMPT_DYNAMIC using static keys= ") Signed-off-by: Sven Schnelle Signed-off-by: Peter Zijlstra (Intel) Reviewed-by: Mark Rutland Link: https://lore.kernel.org/r/20220330084328.1805665-1-svens@linux.ibm.com --- kernel/entry/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/entry/common.c b/kernel/entry/common.c index e57a224..93c3b86 100644 --- a/kernel/entry/common.c +++ b/kernel/entry/common.c @@ -392,7 +392,7 @@ DEFINE_STATIC_CALL(irqentry_exit_cond_resched, raw_irqe= ntry_exit_cond_resched); DEFINE_STATIC_KEY_TRUE(sk_dynamic_irqentry_exit_cond_resched); void dynamic_irqentry_exit_cond_resched(void) { - if (!static_key_unlikely(&sk_dynamic_irqentry_exit_cond_resched)) + if (!static_branch_unlikely(&sk_dynamic_irqentry_exit_cond_resched)) return; raw_irqentry_exit_cond_resched(); }