Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp612361pxb; Tue, 5 Apr 2022 15:57:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxf+V4odb5pQbdsyCsBlr4CeuAVuKJng1LbWskYtL9wo6ZcWTYAZ/rKvg2V9FYZrY7Feclx X-Received: by 2002:a62:e215:0:b0:4fa:87f1:dc16 with SMTP id a21-20020a62e215000000b004fa87f1dc16mr5898557pfi.19.1649199466277; Tue, 05 Apr 2022 15:57:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649199466; cv=none; d=google.com; s=arc-20160816; b=iCzMlFcPdUoL3ZUPKfqTtpv+YbRhD2hmRfmE/8c9lkZNAnjYw+RbhW9uiw3GCe8Thx TeA5TC0MOcmcjBEKKFdBSJuP3WQ5dxANY+2sHkbuMciI0ylA/rTlev4mLxpu1nnTowJY RVfzs8w5R4lZmIYg5FcuZkRNKqV+2mzgLrj7rxhhSfCvGdmSu6AwwQNVNgPUBnWct0YD NpcG9BdQ1wZPL4L6eCe4o307XAhbd4mE+UWlSHqZqWhN0lKeV7+SN5J1DiXwXUs1gX+u MFGKDI6fwoaJPKBJdlZRlbLX7nhO1hmNQenTLElFu7n2XSBgut/k5Up51iSj6HtjuIxm jvAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=n+duiD32iMvOs7dnQ0Ve1PZwuaC4V1bdhbWLDOYKenw=; b=APWmHBb2n/Tkp4OoSRmjdYvssE/1jcsxovxfjA0Mtgy7T068an4PFXtW3AbbAY6FVg 6RFd/N2zcBfvpsnzFm9vC54r26UUnE67dtrd3MK2Jq35Uoz4y4WLDTY0P7F7kvEW7+EK iWUHqUczdOAX+er/nGMLOi41UAH7zi9ju1GQ200+XWPxOTsPraM5MVvJqkDXvJ34CoCT tw9S0F/BCbRM1y6MFPqtxHqIo3ZylGCZK+AHJK6PVs+HG+KWJ3sgswDpXH3rUWprCxAd 2bJBlRTRJlhMqLVcesFwFopWny5nHsntwbRuh4FPwjCVLOu6ab2QLLccVZMHEO6LdMhP QgAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=chCsgVPj; dkim=neutral (no key) header.i=@linutronix.de; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id n7-20020a635c47000000b003816043ef09si11583143pgm.254.2022.04.05.15.57.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Apr 2022 15:57:46 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=chCsgVPj; dkim=neutral (no key) header.i=@linutronix.de; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id CF892F8EE8; Tue, 5 Apr 2022 15:39:09 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352687AbiDEKEz (ORCPT + 99 others); Tue, 5 Apr 2022 06:04:55 -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 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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/0a70045ed8516dfcff4b5728557e1ef3fd0= 17c53 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_resche= d=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_resch= ed)) | ^~~~~~~~~~~~~~~~~~~ | 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_irqent= ry_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(); }