From nobody Tue Sep 29 08:26:17 2026 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 D12CC3FC5C1; Mon, 10 Aug 2026 14:27:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786372030; cv=none; b=juM6DlkmKNwdmZaPM7gd9aZqnaFehBbZQ9mQAVofA17TJ5O3Uys3Mg8cF5ayEC1xz0SzMCgVL5PEuyQh9FECHCPx2lGB4t0rMeiCAqB6LLRYz7DC6+TNmTlF/HQoBRDCuDI0JtgIFWq11yUDNrkElSzfPGVfQkKXxRtVGFbzLTw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786372030; c=relaxed/simple; bh=e8g3qJ5tRnc0XgFfTTYmKuszxsLhIVGnhrTmg/BIWBE=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=Vd54iiyCUjD697PdiYUCgJ3Arh5DZRvUbjUO/fXRkU9hbktZv1Z+FERkTa25AtcMvLpbEtrAxAUJqTGR9cyhvJUq1zE6fGaReJVk3cMyd8HWjmSyyKE4PVsgf4a6eS78y3aiJKIbCio/DL/sfykSftArIF2onQvdyDchvOFr1Ik= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=ZDhBhr5J; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=vYpKwLhc; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="ZDhBhr5J"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="vYpKwLhc" Date: Mon, 10 Aug 2026 14:27:02 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1786372024; 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=eus4rabYzpF6nPw5+nYxZ8n5JEbwygukwB5/2YElyiQ=; b=ZDhBhr5JIo8mFnT6GZlnh9/du+ANGENaqFl4/drX8DVf29yiEZIgiRo7Vaf7f+5cBt9bFD tuCBXzth1a1dvDvRwq16TVLKSM5/KIs38Ge2Y9xxTY1l+F+7G3nwoMBq9oBwYi8Wnuji5R /JoTzTTRlNoGSDDgIL9KwPWrY1uuJtxCHOjKb4InU9UoszjzdQtN2U6pqfL1YsbtBa8/F8 Pm46UWKMXg7TKcHea2yobkbN2jjZUrtKdKSl2h6ceuxoq18iTUQADQn42gYDpRoKsYAJ+q YB3SiuvgM9WNDNu1Sk8xgS+BOIQX8UJlH5aa7QZMvQxjnrp6Fe2X2eJo99oovg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1786372024; 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=eus4rabYzpF6nPw5+nYxZ8n5JEbwygukwB5/2YElyiQ=; b=vYpKwLhcmQMlubPHIeYxTqOSyncg2e8NOqtMFeqe11ccFXGCtxlr17Km9d4//VSYEyUPNo DH5hwoK4oWis2oBQ== From: tip-bot2 for Thomas =?utf-8?q?Wei=C3=9Fschuh?= Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: timers/vdso] kbuild: Support generated asm-headers in subdirectories Cc: thomas.weissschuh@linutronix.de, Thomas Gleixner , Nicolas Schier , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20260724-vdso-arch-clockmodes-v4-1-ddbe447be860@linutronix.de> References: <20260724-vdso-arch-clockmodes-v4-1-ddbe447be860@linutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <178637202269.442315.14328280570641279524.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The following commit has been merged into the timers/vdso branch of tip: Commit-ID: 2d69b891e6461eb3dc9af4741ded915966db4e01 Gitweb: https://git.kernel.org/tip/2d69b891e6461eb3dc9af4741ded91596= 6db4e01 Author: Thomas Wei=C3=9Fschuh AuthorDate: Fri, 24 Jul 2026 15:36:18 +02:00 Committer: Thomas Gleixner CommitterDate: Mon, 10 Aug 2026 16:25:21 +02:00 kbuild: Support generated asm-headers in subdirectories Extend the asm-header stub generation to also handle subdirectories. An upcoming vdso/ header refactoring requires this. Signed-off-by: Thomas Wei=C3=9Fschuh Signed-off-by: Thomas Gleixner Reviewed-by: Nicolas Schier Link: https://patch.msgid.link/20260724-vdso-arch-clockmodes-v4-1-ddbe447be= 860@linutronix.de --- scripts/Makefile.asm-headers | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/scripts/Makefile.asm-headers b/scripts/Makefile.asm-headers index 8a4856e..b389313 100644 --- a/scripts/Makefile.asm-headers +++ b/scripts/Makefile.asm-headers @@ -48,14 +48,13 @@ syscall-y :=3D $(addprefix $(obj)/, $(syscall-y)) generated-y :=3D $(addprefix $(obj)/, $(generated-y)) =20 # Remove stale wrappers when the corresponding files are removed from gene= ric-y -old-headers :=3D $(wildcard $(obj)/*.h) +old-headers :=3D $(shell test -d $(obj) && find $(obj) -name *.h) unwanted :=3D $(filter-out $(generic-y) $(generated-y) $(syscall-y),$(o= ld-headers)) =20 -quiet_cmd_wrap =3D WRAP $@ - cmd_wrap =3D echo "\#include " > $@ +filechk_wrap =3D echo "\#include " =20 quiet_cmd_remove =3D REMOVE $(unwanted) - cmd_remove =3D rm -f $(unwanted) + cmd_remove =3D rm -f $(unwanted); find $(obj) -type d -empty -delete =20 quiet_cmd_syshdr =3D SYSHDR $@ cmd_syshdr =3D $(CONFIG_SHELL) $(syshdr) \ @@ -74,8 +73,8 @@ all: $(generic-y) $(syscall-y) $(if $(unwanted),$(call cmd,remove)) @: =20 -$(obj)/%.h: $(srctree)/$(generic)/%.h - $(call cmd,wrap) +$(obj)/%.h: $(srctree)/$(generic)/%.h FORCE + $(call filechk,wrap) =20 $(obj)/unistd_%.h: $(syscalltbl) $(syshdr) FORCE $(call if_changed,syshdr)