From: Will Deacon <will@kernel.org>
To: Marc Zyngier <maz@kernel.org>, Sasha Levin <sashal@kernel.org>
Cc: catalin.marinas@arm.com, mark.rutland@arm.com,
kernel-team@android.com, Will Deacon <will@kernel.org>,
Daniel Lezcano <daniel.lezcano@kernel.org>,
Thomas Gleixner <tglx@kernel.org>,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] clocksource/drivers/arm_arch_timer: Make the read_sched_clock_is_arch_counter() stub inline
Date: Tue, 1 Dec 2026 12:24:20 +0000 [thread overview]
Message-ID: <179612660184.2133296.4585279591883425707.b4-ty@kernel.org> (raw)
In-Reply-To: <20261130012925.921019-1-sashal@kernel.org>
On Sun, 29 Nov 2026 20:29:25 -0500, Sasha Levin wrote:
> The !CONFIG_ARM_ARCH_TIMER stub of read_sched_clock_is_arch_counter() is
> a plain static function in a header. A file that includes
> <clocksource/arm_arch_timer.h> without the arch timer enabled and does
> not call it gets an unused function, which breaks x86_64 allmodconfig
> (COMPILE_TEST builds of rpmh-rsc.c and qcom_stats.c with CONFIG_WERROR):
>
> In file included from drivers/soc/qcom/rpmh-rsc.c:30:
> include/clocksource/arm_arch_timer.h:113:13: error: 'read_sched_clock_is_arch_counter' defined but not used [-Werror=unused-function]
>
> [...]
Applied to arm64 (for-next/perf), thanks!
[1/1] clocksource/drivers/arm_arch_timer: Make the read_sched_clock_is_arch_counter() stub inline
https://git.kernel.org/arm64/c/f7d880a40325
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
prev parent reply other threads:[~2026-12-01 12:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-30 1:29 Sasha Levin
2026-12-01 12:24 ` Will Deacon [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=179612660184.2133296.4585279591883425707.b4-ty@kernel.org \
--to=will@kernel.org \
--cc=catalin.marinas@arm.com \
--cc=daniel.lezcano@kernel.org \
--cc=kernel-team@android.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=maz@kernel.org \
--cc=sashal@kernel.org \
--cc=tglx@kernel.org \
/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
all inboxes | Powered by JetHome®