diff options
author | Dou Liyang <douly.fnst@cn.fujitsu.com> | 2017-06-22 11:15:41 +0800 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-06-22 10:34:42 +0200 |
commit | 538ac46c64a6bc61e71982091fc1eef0026f322e (patch) | |
tree | ba3bfcf921ea299b288ced2aefd8360a3019a0fc /arch/x86/kernel/apic | |
parent | a884d25f383133c845d23c2cce929ba15994ca62 (diff) | |
download | op-kernel-dev-538ac46c64a6bc61e71982091fc1eef0026f322e.zip op-kernel-dev-538ac46c64a6bc61e71982091fc1eef0026f322e.tar.gz |
x86/apic: Make arch_init_msi/htirq_domain __init
These two functions are only called by arch_early_irq_init(), which
is an __init function, so mark them __init as well.
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/1498101341-10182-1-git-send-email-douly.fnst@cn.fujitsu.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/kernel/apic')
-rw-r--r-- | arch/x86/kernel/apic/htirq.c | 2 | ||||
-rw-r--r-- | arch/x86/kernel/apic/msi.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/apic/htirq.c b/arch/x86/kernel/apic/htirq.c index ae50d34..81ff489 100644 --- a/arch/x86/kernel/apic/htirq.c +++ b/arch/x86/kernel/apic/htirq.c @@ -150,7 +150,7 @@ static const struct irq_domain_ops htirq_domain_ops = { .deactivate = htirq_domain_deactivate, }; -void arch_init_htirq_domain(struct irq_domain *parent) +void __init arch_init_htirq_domain(struct irq_domain *parent) { if (disable_apic) return; diff --git a/arch/x86/kernel/apic/msi.c b/arch/x86/kernel/apic/msi.c index c61aec7..4c5d188 100644 --- a/arch/x86/kernel/apic/msi.c +++ b/arch/x86/kernel/apic/msi.c @@ -136,7 +136,7 @@ static struct msi_domain_info pci_msi_domain_info = { .handler_name = "edge", }; -void arch_init_msi_domain(struct irq_domain *parent) +void __init arch_init_msi_domain(struct irq_domain *parent) { if (disable_apic) return; |