* [PATCH 1/2] MIPS: OCTEON: Remove vestiges of CONFIG_CAVIUM_DECODE_RSL
@ 2013-05-22 21:46 David Daney
2013-05-22 21:49 ` David Daney
0 siblings, 1 reply; 3+ messages in thread
From: David Daney @ 2013-05-22 21:46 UTC (permalink / raw)
To: linux-mips, ralf; +Cc: David Daney
From: David Daney <david.daney@cavium.com>
This config option doesn't exist any more, remove the leftover code
for it too.
Signed-off-by: David Daney <david.daney@cavium.com>
---
arch/mips/cavium-octeon/setup.c | 27 ---------------------------
1 file changed, 27 deletions(-)
diff --git a/arch/mips/cavium-octeon/setup.c b/arch/mips/cavium-octeon/setup.c
index b0baa29..b593133 100644
--- a/arch/mips/cavium-octeon/setup.c
+++ b/arch/mips/cavium-octeon/setup.c
@@ -40,12 +40,6 @@
#include <asm/octeon/pci-octeon.h>
#include <asm/octeon/cvmx-mio-defs.h>
-#ifdef CONFIG_CAVIUM_DECODE_RSL
-extern void cvmx_interrupt_rsl_decode(void);
-extern int __cvmx_interrupt_ecc_report_single_bit_errors;
-extern void cvmx_interrupt_rsl_enable(void);
-#endif
-
extern struct plat_smp_ops octeon_smp_ops;
#ifdef CONFIG_PCI
@@ -460,18 +454,6 @@ static void octeon_halt(void)
}
/**
- * Handle all the error condition interrupts that might occur.
- *
- */
-#ifdef CONFIG_CAVIUM_DECODE_RSL
-static irqreturn_t octeon_rlm_interrupt(int cpl, void *dev_id)
-{
- cvmx_interrupt_rsl_decode();
- return IRQ_HANDLED;
-}
-#endif
-
-/**
* Return a string representing the system type
*
* Returns
@@ -1061,15 +1043,6 @@ void prom_free_prom_memory(void)
panic("Core-14449 WAR not in place (%04x).\n"
"Please build kernel with proper options (CONFIG_CAVIUM_CN63XXP1).", insn);
}
-#ifdef CONFIG_CAVIUM_DECODE_RSL
- cvmx_interrupt_rsl_enable();
-
- /* Add an interrupt handler for general failures. */
- if (request_irq(OCTEON_IRQ_RML, octeon_rlm_interrupt, IRQF_SHARED,
- "RML/RSL", octeon_rlm_interrupt)) {
- panic("Unable to request_irq(OCTEON_IRQ_RML)");
- }
-#endif
}
int octeon_prune_device_tree(void);
--
1.7.11.7
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH 1/2] MIPS: OCTEON: Remove vestiges of CONFIG_CAVIUM_DECODE_RSL
2013-05-22 21:46 [PATCH 1/2] MIPS: OCTEON: Remove vestiges of CONFIG_CAVIUM_DECODE_RSL David Daney
@ 2013-05-22 21:49 ` David Daney
2013-05-22 21:49 ` David Daney
0 siblings, 1 reply; 3+ messages in thread
From: David Daney @ 2013-05-22 21:49 UTC (permalink / raw)
To: David Daney; +Cc: linux-mips, ralf, David Daney
On 05/22/2013 02:46 PM, David Daney wrote:
> From: David Daney <david.daney@cavium.com>
>
> This config option doesn't exist any more, remove the leftover code
> for it too.
>
> Signed-off-by: David Daney <david.daney@cavium.com>
Well I screwed up the subject line it is really [PATCH 1/1], but it is
still mergeable :-).
David Daney
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 1/2] MIPS: OCTEON: Remove vestiges of CONFIG_CAVIUM_DECODE_RSL
2013-05-22 21:49 ` David Daney
@ 2013-05-22 21:49 ` David Daney
0 siblings, 0 replies; 3+ messages in thread
From: David Daney @ 2013-05-22 21:49 UTC (permalink / raw)
To: David Daney; +Cc: linux-mips, ralf, David Daney
On 05/22/2013 02:46 PM, David Daney wrote:
> From: David Daney <david.daney@cavium.com>
>
> This config option doesn't exist any more, remove the leftover code
> for it too.
>
> Signed-off-by: David Daney <david.daney@cavium.com>
Well I screwed up the subject line it is really [PATCH 1/1], but it is
still mergeable :-).
David Daney
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-05-22 21:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-22 21:46 [PATCH 1/2] MIPS: OCTEON: Remove vestiges of CONFIG_CAVIUM_DECODE_RSL David Daney
2013-05-22 21:49 ` David Daney
2013-05-22 21:49 ` David Daney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox