Messages in this thread |  | | Date | Sun, 6 May 2018 12:26:54 +0200 (CEST) | From | Thomas Gleixner <> | Subject | Re: [PATCH] x86: UV: raw_spinlock conversion |
| |
On Fri, 4 May 2018, Sebastian Andrzej Siewior wrote:
> From: Mike Galbraith <umgwanakikbuti@gmail.com> > > Shrug. Lots of hobbyists have a beast in their basement, right?
This hardly qualifies as a proper changelog ...
> } > @@ -299,13 +299,17 @@ static int uv_rtc_unset_timer(int cpu, i > static u64 uv_read_rtc(struct clocksource *cs) > { > unsigned long offset; > + u64 cycles; > > + preempt_disable(); > if (uv_get_min_hub_revision_id() == 1) > offset = 0; > else > offset = (uv_blade_processor_id() * L1_CACHE_BYTES) % PAGE_SIZE; > > - return (u64)uv_read_local_mmr(UVH_RTC | offset); > + cycles = (u64)uv_read_local_mmr(UVH_RTC | offset); > + preempt_enable(); > + return cycles;
And how exaclty is this hunk related?
Thanks,
tglx
|  |