Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1619701
| From | Dou Liyang <douly.fnst@cn.fujitsu.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 3/3] x86/irq: Remove a redundant #ifdef directive |
| Date | 2017-04-10 10:10 +0200 |
| Message-ID | <tuCyB-6zF-1@gated-at.bofh.it> (permalink) |
| References | <tuizT-1Fl-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
The declaration of irq_ctx_init in irq.h has already considered with both X86_32=y and X86_32=n cases. Put '#ifdef CONFIG_X86_32' here is redundant. Remove it for cleanup. Signed-off-by: Dou Liyang <douly.fnst@cn.fujitsu.com> --- arch/x86/kernel/irqinit.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/x86/kernel/irqinit.c b/arch/x86/kernel/irqinit.c index 1423ab1..7468c69 100644 --- a/arch/x86/kernel/irqinit.c +++ b/arch/x86/kernel/irqinit.c @@ -195,7 +195,5 @@ void __init native_init_IRQ(void) if (!acpi_ioapic && !of_ioapic && nr_legacy_irqs()) setup_irq(2, &irq2); -#ifdef CONFIG_X86_32 irq_ctx_init(smp_processor_id()); -#endif } -- 2.5.5
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 1/2] x86/smp: Refine the code in the case of X86_32_SMP Dou Liyang <douly.fnst@cn.fujitsu.com> - 2017-04-09 12:50 +0200
[PATCH 2/2] x86/smp: Remove the redundant #ifdef CONFIG_SMP directive Dou Liyang <douly.fnst@cn.fujitsu.com> - 2017-04-09 12:50 +0200
[tip:x86/cleanups] x86/smp: Remove the redundant #ifdef CONFIG_SMP directive tip-bot for Dou Liyang <tipbot@zytor.com> - 2017-04-14 22:50 +0200
[PATCH 3/3] x86/irq: Remove a redundant #ifdef directive Dou Liyang <douly.fnst@cn.fujitsu.com> - 2017-04-10 10:10 +0200
[tip:x86/cleanups] x86/irq: Remove a redundant #ifdef directive tip-bot for Dou Liyang <tipbot@zytor.com> - 2017-04-14 22:50 +0200
[tip:x86/cleanups] x86/smp: Reduce code duplication tip-bot for Dou Liyang <tipbot@zytor.com> - 2017-04-14 22:50 +0200
csiph-web