Re: [PATCH v6 4/4] x86/tsc: use tsc early

From: Fenghua Yu
Date: Wed Aug 30 2017 - 17:22:32 EST


On Wed, Aug 30, 2017 at 02:12:09PM -0700, Fenghua Yu wrote:
> +static struct cyc2ns_data cyc2ns_early;
> +static bool sched_clock_early_enabled;

Should these two varaibles be "__initdata"?

> +u64 sched_clock_early(void)
This function is only called during boot time. Should it
be a "__init" function?

Thanks.

-Fenghua