From patchwork Wed May 31 12:04:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 101397 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp2828412vqr; Wed, 31 May 2023 05:09:47 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ58bpvZTFOdD1Zv8ZatG0+GVTB1KBIt5Lj9bY3ptWO+r5XIcEEXX1WcfVo8wh8lHalerGpw X-Received: by 2002:a17:90a:345:b0:258:71e6:1c24 with SMTP id 5-20020a17090a034500b0025871e61c24mr649390pjf.12.1685534987167; Wed, 31 May 2023 05:09:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685534987; cv=none; d=google.com; s=arc-20160816; b=e9xqDAAaYjXcSikRnjx3An2r5WWYv55xSmAcjqVVPNU4uDMuOB0AMe8w79HGMMsHwA wzm+PVYZyQAcjgAMYaCjiQls0d273WUPhfUyVPDPjaWdw4zyVYdnCDiB7IJ59s6Q+kSz dPlZcVObZWkBgmCqjV9YzEnL6MFQIe66LcO6bvULjxndQzvStT0Yl4SRq5wktk/FfzlE F88yaRdwPNZFLlEfRmNm1N6N5TjXxxQpfZYS0SuuVtRiyNL7DmPo9Proqea99TIXHIQH xDC0LSsOLq5HtiJl2lxo8pCYltBpG7DeEiEsMauCzIw4lL6NvzJGge9WOO9vV1xYIZx2 lxbg== 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=x5ysQQkdGevGAv6wscsWh4HWYGnVHylYMdBROc2L81M=; b=YUhUbaRe+fp2uO85gIgaU2jhcbwZ6Qsdlw++KOwUMeY63oMgbJIfg2JJeMJoevLP7S qdGMbKlJFin6rllx/vRZQiKluBr24jfIEX56J82Ih1xCxvVPVBtJ/MeGpfMEVDk2tawa 1uLGtF0eT6z91N08Wzzd9N738Lfj5Xt0HbUoz40JJFNdc7NYzib3bmd9jkp1TjBMEEcY xcfWpwPVpXjMQ0OBNQfMcdgIKRTvIpzC6dc3MNdLz0pLNA6BvTiMWeTBmqTbmY/ou4T3 184leG9zKldl+TrpbkfHPIiOfGjGu5Fea26hpNLkTqIAu7tiD9juTfXdpiCgmMFxfZJk S4Ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=Kd+Q6SiD; dkim=neutral (no key) header.i=@linutronix.de header.b=5UDFISB8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w9-20020a17090aad4900b002473e16b67esi875727pjv.48.2023.05.31.05.09.32; Wed, 31 May 2023 05:09:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=Kd+Q6SiD; dkim=neutral (no key) header.i=@linutronix.de header.b=5UDFISB8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235874AbjEaMFM (ORCPT + 99 others); Wed, 31 May 2023 08:05:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235797AbjEaMEx (ORCPT ); Wed, 31 May 2023 08:04:53 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E07EE5; Wed, 31 May 2023 05:04:52 -0700 (PDT) Date: Wed, 31 May 2023 12:04:50 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1685534691; 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=x5ysQQkdGevGAv6wscsWh4HWYGnVHylYMdBROc2L81M=; b=Kd+Q6SiDZ4PGP3i0nCn58EuIAJ+DclpEWfWJFzkaawL5GP20LDEFAKQTMQaUQEmYVc2OQj +jVJ29PeruBgPEl/XbLFYbyjkv/LhWYb6P9Ux7iGixo760jVTNir1lLe+DKJP+F5cultss 5lS7+wTz4Nihr2DDgMgowiupxpSNSavNUcoiKiIc7e9i649D5H0lQxmXosAyd6Mrxj4gzI bYFgneDA0Gj5R36dpN62ciJ0psS2T+pK/DGjcsTwJzUKk8J9q1rElvzUPheZmMk6RrDZw5 z1yNV87oDp9gx9TqzPLQDVW9/4WGRqLAWFRjZglZyLdi4sbfF4/25+isnl3XQA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1685534691; 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=x5ysQQkdGevGAv6wscsWh4HWYGnVHylYMdBROc2L81M=; b=5UDFISB8wekYIiYH+IgcPop0Bk83Q3/o9btxJy60y+MKjSF/sVlklVzhPwVoV2Ui++5+0F QbVc7tAOlGbtUUCA== From: "tip-bot2 for Arnd Bergmann" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: sched/core] sched: Add schedule_user() declaration Cc: Arnd Bergmann , "Peter Zijlstra (Intel)" , Vincent Guittot , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20230522195021.3456768-3-arnd@kernel.org> References: <20230522195021.3456768-3-arnd@kernel.org> MIME-Version: 1.0 Message-ID: <168553469067.404.16818081883671386985.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767411534378893022?= X-GMAIL-MSGID: =?utf-8?q?1767411534378893022?= The following commit has been merged into the sched/core branch of tip: Commit-ID: 378be384e01f13fc44d0adc70873de525586ad74 Gitweb: https://git.kernel.org/tip/378be384e01f13fc44d0adc70873de525586ad74 Author: Arnd Bergmann AuthorDate: Mon, 22 May 2023 21:50:18 +02:00 Committer: Peter Zijlstra CommitterDate: Tue, 30 May 2023 22:46:25 +02:00 sched: Add schedule_user() declaration The schedule_user() function is used on powerpc and sparc architectures, but only ever called from assembler, so it has no prototype, causing a harmless W=1 warning: kernel/sched/core.c:6730:35: error: no previous prototype for 'schedule_user' [-Werror=missing-prototypes] Add a prototype in sched/sched.h to shut up the warning. Signed-off-by: Arnd Bergmann Signed-off-by: Peter Zijlstra (Intel) Reviewed-by: Vincent Guittot Link: https://lore.kernel.org/r/20230522195021.3456768-3-arnd@kernel.org --- kernel/sched/sched.h | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h index 6784462..192e781 100644 --- a/kernel/sched/sched.h +++ b/kernel/sched/sched.h @@ -2376,6 +2376,7 @@ static inline struct cpuidle_state *idle_get_state(struct rq *rq) #endif extern void schedule_idle(void); +asmlinkage void schedule_user(void); extern void sysrq_sched_debug_show(void); extern void sched_init_granularity(void);