]> git.baikalelectronics.ru Git - kernel.git/commit
x86/tsc: Mark cyc2ns_init() and detect_art() __init
authorDou Liyang <douly.fnst@cn.fujitsu.com>
Wed, 8 Nov 2017 10:09:52 +0000 (18:09 +0800)
committerIngo Molnar <mingo@kernel.org>
Fri, 10 Nov 2017 09:02:08 +0000 (10:02 +0100)
commit880d7695d548b92f047c358914ec36a52cd0a3e8
tree23996e05fc326ef305eb91057ab440fc29720c0a
parent9821eea0f820a60ed91c30fe3f72a0826abe3bef
x86/tsc: Mark cyc2ns_init() and detect_art() __init

These two functions are only called by tsc_init(), which is an __init
function during boot time, so mark them __init as well.

Signed-off-by: Dou Liyang <douly.fnst@cn.fujitsu.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1510135792-17429-1-git-send-email-douly.fnst@cn.fujitsu.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/tsc.c