Re: [PATCH 1/2 v10] time: Make fast functions return 0 before timekeeping is initialized
From: Thomas Gleixner
Date: Mon Aug 28 2017 - 11:01:09 EST
On Mon, 28 Aug 2017, Prarit Bhargava wrote:
> +static struct tk_fast tk_fast_mono ____cacheline_aligned = {
> + .base = {
> + (struct tk_read_base){
> + .clock = &dummy_clock,
> + },
> + (struct tk_read_base){
> + .clock = &dummy_clock,
> + },
> + },
> +};
I think I complained about this ugly typecast before.
.base[0] = { .clock = &dummy_clock, },
.base[1] = { .clock = &dummy_clock, },
Hmm?
Thanks,
tglx