[PATCH v19 4/7] time: Add mechanism to recognize clocksource in time_get_snapshot

Zenghui Yu yuzenghui at huawei.com
Sat Apr 17 10:27:11 BST 2021


On 2021/3/30 22:54, Marc Zyngier wrote:
> -	u64		cycles;
> -	ktime_t		real;
> -	ktime_t		raw;
> -	unsigned int	clock_was_set_seq;
> -	u8		cs_was_changed_seq;
> +	u64			cycles;
> +	ktime_t			real;
> +	ktime_t			raw;
> +	enum clocksource_ids	cs_id;

nit: worth adding a description for it (on top of the structure)?

> +	unsigned int		clock_was_set_seq;
> +	u8			cs_was_changed_seq;



More information about the linux-arm-kernel mailing list