summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorNaman Jain <namjain@linux.microsoft.com>2026-08-31 08:25:28 +0000
committerBorislav Petkov (AMD) <bp@alien8.de>2026-11-02 21:38:37 -0800
commit7d5af1f256fdecff6a7986bbc9146b69cb355bb5 (patch)
tree19115107551fe1eef925f364aab2ee19246cab54 /scripts/Makefile.thinlto
parent7782a6a8dfc05f5622fdf616e5cf3df7d16eaef5 (diff)
downloadlinux-next-7d5af1f256fdecff6a7986bbc9146b69cb355bb5.tar.gz
linux-next-7d5af1f256fdecff6a7986bbc9146b69cb355bb5.zip
x86/init: Initialize wall clock in get_rtc_noop()
get_rtc_noop() is used when an RTC is unavailable, but leaves its output argument untouched. When CONFIG_INIT_STACK_ALL_ZERO is not enabled, timekeeping_init() may therefore receive a nonzero invalid persistent clock value and warn: "Persistent clock returned invalid value" Initialize the output to zero, the documented representation of an unsupported persistent clock. Fixes: c311ed6183f4 ("x86/init: Allow DT configured systems to disable RTC at boot time") Signed-off-by: Naman Jain <namjain@linux.microsoft.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Reviewed-by: Thomas Gleixner <tglx@kernel.org> Reviewed-by: Roman Kisel <vdso@mailbox.org> Reviewed-by: Hardik Garg <hargar@linux.microsoft.com> Reviewed-by: Dexuan Cui <decui@microsoft.com> Cc: stable@vger.kernel.org Link: https://patch.msgid.link/20260831082528.1623843-1-namjain@linux.microsoft.com
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions