From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=193.142.43.55 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796369187; b=Q+yp41W5Xas0A/72n14mmCfNoQzYXuk7nnTHFG5MnE2DOybfPjmPP/7lDBcI0OJ9THTF Kz+nB5pqdVgzdCNfDLwZdJ3YbgFC8Z8atJ4t3bHYNCV9NMbaS+XRxlvJcnOWhfVTFF9Xx 2t/NgfmlfRf42RaKtCLCfOCYe8abLPwfr4npGtP/+AUUsd3ctIY5Wn+Gz2FzsicIMh04c RgTUhe5pw7X+Kb+st/7pSO5MqHQsFbS/pLisqQsNchZzKSVNAxKX5yiom0AedQSKjncve oAiTJVqYfiCRKM/V4B4L2F8f9sCSxUE8uhPqlF8Q1vv/lxGSyVEn+gN7zY97RSa1LxA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796369187; h=DMARC-Filter:From:DKIM-Signature:DKIM-Signature:Subject:Date: Message-Id:MIME-Version:Content-Type:Content-Transfer-Encoding: X-B4-Tracking:X-Change-ID:To:Cc:X-Developer-Signature: X-Developer-Key; bh=ubMwKxo5fvFMCwQLXSCSOnV7giXXWePlqgqSb+TTIJI=; b=LbwFfqLLtiFmIrNdRvvpnaUDH3W8i9tW9b6espFyyjcWigVxES1xhPCpkREtNcPUYvFR DQuF6YbpY6Wd3YRxS/8Pc44aKo1k3gJujGk08BETMlw2IAjR7FcKkGbXGd0AhQ1Qu3J1f mwGbI1+Ei5uDkvmbSon4mo+q1F3ycKaFMOOhdowd9N8QD+wFKSQ0vCsYPCNO/sTxR6ty8 MSMyPlOa/rUgJwDAoWuT2H/ouPjWxES5BxgErdX6tDCpmM96O9bZbdNDDuNKJdeE2VQOi HTtYteCp4ZXiEMNnJ59OOKSNZBoyeWPdG1MQ77UMYm0pSKMGpif5GEC5nxlgmrU+xvw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=rsa-sha256 header.s=2020 header.b=ll0HqO8q; dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=ed25519-sha256 header.s=2020e header.b="b3o/jYFF"; arc=none smtp.remote-ip=193.142.43.55 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8B9C5606A688; Fri, 4 Dec 2026 07:26:26 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 8B9C5606A688 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.a=rsa-sha256 header.s=2020 header.b=ll0HqO8q; dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=ed25519-sha256 header.s=2020e header.b=b3o/jYFF From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1796369182; h=from:from: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; bh=ubMwKxo5fvFMCwQLXSCSOnV7giXXWePlqgqSb+TTIJI=; b=ll0HqO8qQ9fxCVX/diYfUt8nUwIcD5trztRyfVmdbKkiUBW2uXBnk6Pj6bXHmGC196VnBr /hfV61jn2J9q2Vzom/g6CUQK+KD9nwH+i7JlLNZvmqPcYb2ZsGybg6jnIJG5BcpYUaHd+T V6PXW+8UL01qpXmn1hSgBywfn2lNtQ08Y/ZHiBNBjZY+zL3Vp1oRMnI4+F9PkLNmIQlrtU RTXlGJOFxmyH25c4eZvVOtG0SmIWnB3FwfvH9ehK3K3mW4wgTuTP1jPWufMdPVAcywgv0L xjLqYDt/R6ptkyweb3npN+RCVpUwm+Oxc9nFt6nPUOYrulYbDcNLeKKzlIxSSA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1796369182; h=from:from: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; bh=ubMwKxo5fvFMCwQLXSCSOnV7giXXWePlqgqSb+TTIJI=; b=b3o/jYFFYGqzPCHis8E/hNFKATGhYUTXWqKz/9qs3NK7YYNQeiuzjS6Z+uOxJJuhpqym1S twtLDPHAVbD8shCw== Subject: [PATCH 0/3] clocksource: Drop the inclusion of asm/clocksource.h Date: Fri, 04 Dec 2026 08:26:06 +0100 Message-Id: <20261204-vdso-asm-clocksource-v1-0-6fae836f286b@linutronix.de> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-B4-Tracking: v=1; b=H4sIAAAAAAAC/x3MwQqDMAyA4VcpOS/QZlCYryI7SJpqmNrRsCKI7 27Z8Tv8/wkmVcVgcCdUaWpa9o7wcMDLtM+CmrqBPMVA/oktWcHJNuS18MfKr7KgjzG/OFAin6C n3ypZj/92fF/XDWtzK1JmAAAA X-Change-ID: 20261203-vdso-asm-clocksource-066f9c12d20d To: Thomas Gleixner , John Stultz , Stephen Boyd , Miroslav Lichvar Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-csky@vger.kernel.org, loongarch@lists.linux.dev, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, sparclinux@vger.kernel.org, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Developer-Signature: v=1; a=ed25519-sha256; t=1796369181; l=1589; i=thomas.weissschuh@linutronix.de; s=20240209; h=from:subject:message-id; bh=UN8saOYIdccXe5JDbV2Nc/exupgJ4bqmYkC1E7FVvdI=; b=DJLoe9y2QL82vYYlnrkT7rF71wnMe1mZQFshHrL6wfh+64gzGa96kCZmfPbBpdgaYMYwehYq1 ubx4dWtxi1SC+1N3DDnqn6aAZYg50CRAIIKVz5u3sFyGWsr4hlBqDrB X-Developer-Key: i=thomas.weissschuh@linutronix.de; a=ed25519; pk=pfvxvpFUDJV2h2nY0FidLUml22uGLSjByFbM6aqQQws= Only x86 requires asm/clocksource.h. As the generic vDSO infrastructure includes this header all other architectures are force to provide it. But on x86 all users of the header already include it explicitly, making the inclusion from linux/clocksource.h unnecessary. Drop the inclusion of asm/clocksource.h from linux/clocksource.h. Also remove all the now unused architecture-specific files. Signed-off-by: Thomas Weißschuh --- Thomas Weißschuh (3): MIPS: vdso: Drop the include of asm/clocksource.h x86/vdso: Drop the include of asm/vdso/clocksource.h clocksource: Drop the inclusion of asm/clocksource.h arch/arm/include/asm/clocksource.h | 7 ------- arch/arm64/include/asm/clocksource.h | 7 ------- arch/csky/include/asm/clocksource.h | 8 -------- arch/loongarch/include/asm/clocksource.h | 12 ------------ arch/mips/include/asm/clocksource.h | 11 ----------- arch/mips/include/asm/vdso/gettimeofday.h | 1 - arch/powerpc/include/asm/clocksource.h | 7 ------- arch/riscv/include/asm/clocksource.h | 7 ------- arch/s390/include/asm/clocksource.h | 7 ------- arch/sparc/include/asm/clocksource.h | 8 -------- arch/x86/include/asm/clocksource.h | 2 -- include/linux/clocksource.h | 4 ---- 12 files changed, 81 deletions(-) --- base-commit: 13ce64b722d15fc70ba54dd5d4bafc99f2a1bc11 change-id: 20261203-vdso-asm-clocksource-066f9c12d20d Best regards, -- Thomas Weißschuh