[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v4 1/6] x86/time: introduce helper to fetch Xen wallclock when running as a guest
On Thu, Sep 05, 2024 at 05:45:20PM +0200, Jan Beulich wrote: > On 04.09.2024 17:31, Roger Pau Monne wrote: > > Move the current code in get_wallclock_time() to fetch the Xen wallclock > > information from the shared page when running as a guest into a separate > > helper. > > > > No functional change intended. > > > > Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx> > > Acked-by: Jan Beulich <jbeulich@xxxxxxxx> > > Still ... > > > --- a/xen/arch/x86/time.c > > +++ b/xen/arch/x86/time.c > > @@ -787,6 +787,30 @@ static struct platform_timesource > > __initdata_cf_clobber plt_xen_timer = > > }; > > #endif > > > > +static unsigned long read_xen_wallclock(void) > > +{ > > +#ifdef CONFIG_XEN_GUEST > > + struct shared_info *sh_info = XEN_shared_info; > > ... I'd like to switch this to pointer-to-const while committing, if okay > with you. Oh, sure. Thanks, Roger.
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |