Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1619701
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Dou Liyang <douly.fnst@cn.fujitsu.com> |
| Newsgroups | linux.kernel |
| Subject | [PATCH 3/3] x86/irq: Remove a redundant #ifdef directive |
| Date | Mon, 10 Apr 2017 10:10:01 +0200 |
| Message-ID | <tuCyB-6zF-1@gated-at.bofh.it> (permalink) |
| References | <tuizT-1Fl-7@gated-at.bofh.it> |
| X-Original-To | <x86@kernel.org>, <linux-kernel@vger.kernel.org> |
| X-Ironport-Av | E=Sophos;i="5.22,518,1449504000"; d="scan'208";a="17551264" |
| X-Mailer | git-send-email 2.5.5 |
| MIME-Version | 1.0 |
| Content-Type | text/plain |
| X-Originating-IP | [10.167.226.106] |
| X-Yoursite-Mailscanner-ID | B32B2467021F.ADE72 |
| X-Yoursite-Mailscanner | Found to be clean |
| X-Yoursite-Mailscanner-From | douly.fnst@cn.fujitsu.com |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 26 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | <tglx@linutronix.de>, <mingo@kernel.org>, <hpa@zytor.com>, Dou Liyang <douly.fnst@cn.fujitsu.com> |
| X-Original-Date | Mon, 10 Apr 2017 16:05:00 +0800 |
| X-Original-Message-ID | <1491811500-30307-1-git-send-email-douly.fnst@cn.fujitsu.com> |
| X-Original-References | <1491734806-15413-1-git-send-email-douly.fnst@cn.fujitsu.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1619701 |
Show key headers only | View raw
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