From nobody Thu Apr 9 14:03:16 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9B17822FE11 for ; Sun, 8 Mar 2026 01:59:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772935158; cv=none; b=tEA+riP1Rzw0V4/C7UcclBmKU06Joi64mImiSOsuPWKtpVxTVC6chSqjbUCqiIIPXh9dCOuXKXdQk89KD2wKVk23CtteK6NQolp+KSMf6HtOCRCzaviz2m0ARMIFSFrfppTy5vwKlhXu0DxBKDOLPXKx9w57JG7Ko/qpNs6zvIg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772935158; c=relaxed/simple; bh=LrZZ5ZJtPGkhOnc5wudGJVRU10PFPWzj1Krb/zueJ18=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=qV/PmZ7IP6o3Du1gcco4+CwFETA+3KyT0C28bTmvk1MFxI3sMxV7KU1XT34Tteg1CEzZxH63JY6CbK73BzuVcVzrTI0rtLOWvZQDdmLOsLRPvLNtKP33hwwT7snjGQ/5EovesGEUalAr8oINboqRH7Y+N/S9YSWNcO+ULGXzEZY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 31D76C19422; Sun, 8 Mar 2026 01:59:18 +0000 (UTC) From: Joseph Salisbury To: Ingo Molnar , Peter Zijlstra , Juri Lelli , Vincent Guittot Cc: Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Valentin Schneider , linux-kernel@vger.kernel.org Subject: [PATCH] sched/deadline: include sched/isolation.h for housekeeping Date: Sat, 7 Mar 2026 20:59:16 -0500 Message-ID: <20260308015916.60185-1-joseph.salisbury@oracle.com> X-Mailer: git-send-email 2.47.3 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 'deadline.c' uses housekeeping APIs but relies on transitive includes for their declarations. With stricter include checking, this can fail to build, for example:=20 error: implicit declaration of function 'housekeeping_enabled' Include `` directly in `deadline.c` so required housekeeping interfaces are declared at the use site. Reproducer (without this patch): make KCFLAGS=3D"-Werror=3Dimplicit-function-declaration" \ kernel/sched/deadline.o This fails with: error: implicit declaration of function 'housekeeping_cpumask' error: 'HK_TYPE_DOMAIN' undeclared error: implicit declaration of function 'housekeeping_enabled' After applying this patch, the same command builds=20 `kernel/sched/deadline.o` successfully. Fixes: 318e18ed22e8 ("sched/deadline: Walk up cpuset hierarchy to decide ro= ot domain when hot-unplug") Cc: stable@vger.kernel.org Assisted-by: Codex:GPT-5 Signed-off-by: Joseph Salisbury --- kernel/sched/deadline.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c index d08b00429323..75d5263518f5 100644 --- a/kernel/sched/deadline.c +++ b/kernel/sched/deadline.c @@ -17,6 +17,7 @@ */ =20 #include +#include #include #include #include "sched.h" --=20 2.47.3