Re: [PATCH 0/2] Clean up for tsc_init()

From: Dou Liyang
Date: Wed Nov 08 2017 - 04:55:51 EST


Hi Ingo,

At 11/08/2017 05:42 PM, Ingo Molnar wrote:

* Dou Liyang <douly.fnst@xxxxxxxxxxxxxx> wrote:

cyc2ns_init() and detect_art() which is invoked in tsc_init(), are
only called during boot time. So they should be a "__init" function.

Dou Liyang (2):
x86/tsc: Mark cyc2ns_init() __init
x86/tsc: Mark detect_art() __init

arch/x86/kernel/tsc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

This should really be a single patch, but other than that:

Reviewed-by: Ingo Molnar <mingo@xxxxxxxxxx>


Thank you, Indeed, I will merge them together.

Thanks,
dou.