diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-01-10 13:06:34 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-01-10 14:31:36 +0100 |
commit | c8bc44c5f96172fdaab66a268a53dccc6c7ffa87 (patch) | |
tree | 7bf5c1ae407586ffa7ba1f96eb191ccc2b617899 /include/clocksource/hyperv_timer.h | |
parent | 1acb10106df3062d221af9b3124de4d968ee34d2 (diff) | |
download | linux-c8bc44c5f96172fdaab66a268a53dccc6c7ffa87.tar.gz linux-c8bc44c5f96172fdaab66a268a53dccc6c7ffa87.tar.bz2 linux-c8bc44c5f96172fdaab66a268a53dccc6c7ffa87.zip |
Revert "x86/hyperv: Fix hv tsc page based sched_clock for hibernation"
This reverts commit 6681113633dc738ec95fe33104843a1e25acef3b which is
commit bcc80dec91ee745b3d66f3e48f0ec2efdea97149 upstream.
The dependant patch before this one caused build errors in the 6.6.y
tree, so revert this for now so that we can fix them up properly.
Reported-by: Ignat Korchagin <ignat@cloudflare.com>
Link: https://lore.kernel.org/r/3DB3A6D3-0D3A-4682-B4FA-407B2D3263B2@cloudflare.com
Reported-by: Lars Wendler <wendler.lars@web.de>
Link: https://lore.kernel.org/r/20250110103328.0e3906a8@chagall.paradoxon.rec
Reported-by: Chris Clayton <chris2553@googlemail.com>
Link: https://lore.kernel.org/r/10c7be00-b1f8-4389-801b-fb2d0b22468d@googlemail.com
Cc: Dexuan Cui <decui@microsoft.com>
Cc: Naman Jain <namjain@linux.microsoft.com>
Cc: Michael Kelley <mhklinux@outlook.com>
Cc: Wei Liu <wei.liu@kernel.org>
Cc: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/clocksource/hyperv_timer.h')
-rw-r--r-- | include/clocksource/hyperv_timer.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/clocksource/hyperv_timer.h b/include/clocksource/hyperv_timer.h index aa5233b1eba9..6cdc873ac907 100644 --- a/include/clocksource/hyperv_timer.h +++ b/include/clocksource/hyperv_timer.h @@ -38,8 +38,6 @@ extern void hv_remap_tsc_clocksource(void); extern unsigned long hv_get_tsc_pfn(void); extern struct ms_hyperv_tsc_page *hv_get_tsc_page(void); -extern void hv_adj_sched_clock_offset(u64 offset); - static __always_inline bool hv_read_tsc_page_tsc(const struct ms_hyperv_tsc_page *tsc_pg, u64 *cur_tsc, u64 *time) |