diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2014-02-28 12:13:44 +0400 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2014-05-05 12:52:12 +0400 |
commit | 9a091d9e8450a4cec76bd208bbbb017a12795416 (patch) | |
tree | 8514ab63d65757e3827c90006fb3bf1c9b295e81 /arch/arc/kernel/irq.c | |
parent | 89ca3b881987f5a4be4c5dbaa7f0df12bbdde2fd (diff) | |
download | linux-9a091d9e8450a4cec76bd208bbbb017a12795416.tar.xz |
ARC: [SMP] ISS SMP extension bitrot
* Move extension specific code out of common SMP code
* Don't enable it by default for SMP
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/kernel/irq.c')
-rw-r--r-- | arch/arc/kernel/irq.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/arch/arc/kernel/irq.c b/arch/arc/kernel/irq.c index a4b141ee9a6a..7d653c0d0773 100644 --- a/arch/arc/kernel/irq.c +++ b/arch/arc/kernel/irq.c @@ -150,24 +150,6 @@ void arch_do_IRQ(unsigned int irq, struct pt_regs *regs) set_irq_regs(old_regs); } -int get_hw_config_num_irq(void) -{ - uint32_t val = read_aux_reg(ARC_REG_VECBASE_BCR); - - switch (val & 0x03) { - case 0: - return 16; - case 1: - return 32; - case 2: - return 8; - default: - return 0; - } - - return 0; -} - /* * arch_local_irq_enable - Enable interrupts. * |