x86/x2apic: Mark set_x2apic_phys_mode() as __init
authorDou Liyang <douly.fnst@cn.fujitsu.com>
Wed, 17 Jan 2018 03:45:43 +0000 (11:45 +0800)
committerIngo Molnar <mingo@kernel.org>
Tue, 13 Feb 2018 16:24:36 +0000 (17:24 +0100)
commitafed7d172091040f38c75a2927fed170ea11585f
tree7c83de66c80c96f42a047fc8316bf91f7327c114
parent178e834c47b0d01352c48730235aae69898fbc02
x86/x2apic: Mark set_x2apic_phys_mode() as __init

set_x2apic_phys_mode() is only called as part of early_param()
initialization - so mark it as __init.

Signed-off-by: Dou Liyang <douly.fnst@cn.fujitsu.com>
Cc: Juergen Gross <jgross@suse.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20180117034543.26723-1-douly.fnst@cn.fujitsu.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/apic/x2apic_phys.c