diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2014-06-25 17:23:38 +0530 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2014-07-23 11:21:10 +0530 |
commit | 25c7c11fa5642ee426fc9fe54661ffeed809413f (patch) | |
tree | 47e2c74cec24ef54cba8e3bea126f36d9a13b538 /arch/arc/plat-arcfpga/irq.c | |
parent | 878f46c71e99cfb6d8e4e15a561db63a3c9601e5 (diff) | |
download | linux-25c7c11fa5642ee426fc9fe54661ffeed809413f.tar.gz linux-25c7c11fa5642ee426fc9fe54661ffeed809413f.tar.xz |
ARC: [plat-arcfpga] No need for init_irq hack
With all IRQs unmasked by default on all cores, it is no longer needed
to unmask them explicitly.
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/plat-arcfpga/irq.c')
-rw-r--r-- | arch/arc/plat-arcfpga/irq.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/arch/arc/plat-arcfpga/irq.c b/arch/arc/plat-arcfpga/irq.c deleted file mode 100644 index d2215fd889c2..000000000000 --- a/arch/arc/plat-arcfpga/irq.c +++ /dev/null @@ -1,25 +0,0 @@ -/* - * ARC FPGA Platform IRQ hookups - * - * Copyright (C) 2012 Synopsys, Inc. (www.synopsys.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ - -#include <linux/interrupt.h> -#include <plat/irq.h> - -void __init plat_fpga_init_IRQ(void) -{ - /* - * SMP Hack because UART IRQ hardwired to cpu0 (boot-cpu) but if the - * request_irq() comes from any other CPU, the low level IRQ unamsking - * essential for getting Interrupts won't be enabled on cpu0, locking - * up the UART state machine. - */ -#ifdef CONFIG_SMP - arch_unmask_irq(UART0_IRQ); -#endif -} |