[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v4 18/30] xen/riscv: introduce time.h
On Mon, 2024-02-12 at 16:18 +0100, Jan Beulich wrote: > On 05.02.2024 16:32, Oleksii Kurochko wrote: > > Signed-off-by: Oleksii Kurochko <oleksii.kurochko@xxxxxxxxx> > > Acked-by: Jan Beulich <jbeulich@xxxxxxxx> > > Nevertheless ... > > > --- /dev/null > > +++ b/xen/arch/riscv/include/asm/time.h > > @@ -0,0 +1,29 @@ > > +/* SPDX-License-Identifier: GPL-2.0-only */ > > +#ifndef __ASM_RISCV_TIME_H__ > > +#define __ASM_RISCV_TIME_H__ > > + > > +#include <xen/bug.h> > > +#include <asm/csr.h> > > + > > +struct vcpu; > > + > > +/* TODO: implement */ > > +static inline void force_update_vcpu_system_time(struct vcpu *v) { > > BUG_ON("unimplemented"); } > > ... nit: Too long line. The comment also doesn't look to serve any > purpose > anymore, with the BUG_ON() now taking uniform shape. I'll drop the comment and move "BUG_ON(...)" to new line. ~ Oleksii
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |