x86/apic: Make init_legacy_irqs() __init
authorDou Liyang <douly.fnst@cn.fujitsu.com>
Wed, 21 Jun 2017 10:14:21 +0000 (18:14 +0800)
committerIngo Molnar <mingo@kernel.org>
Thu, 22 Jun 2017 08:34:41 +0000 (10:34 +0200)
commita884d25f383133c845d23c2cce929ba15994ca62
treebef8d6f4264ada3b9fab904022c0bf4e13c405f5
parent9df8109fd7969b94ed2332ae828e0b08ae8cbf9a
x86/apic: Make init_legacy_irqs() __init

This function is only called by arch_early_irq_init(), which is an
__init function, so mark the child function __init as well.

In addition mark it inline for the !CONFIG_X86_IO_APIC case.

Signed-off-by: Dou Liyang <douly.fnst@cn.fujitsu.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/1498040061-5332-1-git-send-email-douly.fnst@cn.fujitsu.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/apic/vector.c