From: "Christophe Leroy (CS GROUP)" <chleroy@kernel.org>
To: "Thomas Weißschuh" <thomas.weissschuh@linutronix.de>,
"Thomas Gleixner" <tglx@kernel.org>,
"John Stultz" <jstultz@google.com>,
"Stephen Boyd" <sboyd@kernel.org>,
"Miroslav Lichvar" <mlichvar@redhat.com>
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
Subject: Re: [PATCH 0/3] clocksource: Drop the inclusion of asm/clocksource.h
Date: Fri, 4 Dec 2026 11:33:20 +0100 [thread overview]
Message-ID: <dd16168b-d95f-4cca-bd53-65267210db04@kernel.org> (raw)
In-Reply-To: <20261204-vdso-asm-clocksource-v1-0-6fae836f286b@linutronix.de>
Le 04/12/2026 à 08:26, Thomas Weißschuh a écrit :
> 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.weissschuh@linutronix.de>
Reviewed-by: Christophe Leroy (CS GROUP) <chleroy@kernel.org>
> ---
> 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 <thomas.weissschuh@linutronix.de>
>
>
prev parent reply other threads:[~2026-12-04 10:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-04 7:26 [PATCH 0/3] clocksource: Drop the inclusion of asm/clocksource.h Thomas Weißschuh
2026-12-04 7:26 ` [PATCH 1/3] MIPS: vdso: Drop the include " Thomas Weißschuh
2026-12-04 7:26 ` [PATCH 2/3] x86/vdso: Drop the include of asm/vdso/clocksource.h Thomas Weißschuh
2026-12-04 7:26 ` [PATCH 3/3] clocksource: Drop the inclusion of asm/clocksource.h Thomas Weißschuh
2026-12-04 10:33 ` Christophe Leroy (CS GROUP) [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=dd16168b-d95f-4cca-bd53-65267210db04@kernel.org \
--to=chleroy@kernel.org \
--cc=jstultz@google.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-csky@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=linux-s390@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=loongarch@lists.linux.dev \
--cc=mlichvar@redhat.com \
--cc=sboyd@kernel.org \
--cc=sparclinux@vger.kernel.org \
--cc=tglx@kernel.org \
--cc=thomas.weissschuh@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox