aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/sibyte/bcm1480/irq.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/sibyte/bcm1480/irq.c')
-rw-r--r--arch/mips/sibyte/bcm1480/irq.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/mips/sibyte/bcm1480/irq.c b/arch/mips/sibyte/bcm1480/irq.c
index ba0c4b776c85..e729b5f30264 100644
--- a/arch/mips/sibyte/bcm1480/irq.c
+++ b/arch/mips/sibyte/bcm1480/irq.c
@@ -76,7 +76,7 @@ __setup("nokgdb", nokgdb);
76 76
77/* Default to UART1 */ 77/* Default to UART1 */
78int kgdb_port = 1; 78int kgdb_port = 1;
79#ifdef CONFIG_SIBYTE_SB1250_DUART 79#ifdef CONFIG_SERIAL_SB1250_DUART
80extern char sb1250_duart_present[]; 80extern char sb1250_duart_present[];
81#endif 81#endif
82#endif 82#endif
@@ -100,8 +100,8 @@ DEFINE_SPINLOCK(bcm1480_imr_lock);
100 100
101void bcm1480_mask_irq(int cpu, int irq) 101void bcm1480_mask_irq(int cpu, int irq)
102{ 102{
103 unsigned long flags; 103 unsigned long flags, hl_spacing;
104 u64 cur_ints,hl_spacing; 104 u64 cur_ints;
105 105
106 spin_lock_irqsave(&bcm1480_imr_lock, flags); 106 spin_lock_irqsave(&bcm1480_imr_lock, flags);
107 hl_spacing = 0; 107 hl_spacing = 0;
@@ -117,8 +117,8 @@ void bcm1480_mask_irq(int cpu, int irq)
117 117
118void bcm1480_unmask_irq(int cpu, int irq) 118void bcm1480_unmask_irq(int cpu, int irq)
119{ 119{
120 unsigned long flags; 120 unsigned long flags, hl_spacing;
121 u64 cur_ints,hl_spacing; 121 u64 cur_ints;
122 122
123 spin_lock_irqsave(&bcm1480_imr_lock, flags); 123 spin_lock_irqsave(&bcm1480_imr_lock, flags);
124 hl_spacing = 0; 124 hl_spacing = 0;
@@ -404,7 +404,7 @@ void __init arch_init_irq(void)
404 if (kgdb_flag) { 404 if (kgdb_flag) {
405 kgdb_irq = K_BCM1480_INT_UART_0 + kgdb_port; 405 kgdb_irq = K_BCM1480_INT_UART_0 + kgdb_port;
406 406
407#ifdef CONFIG_SIBYTE_SB1250_DUART 407#ifdef CONFIG_SERIAL_SB1250_DUART
408 sb1250_duart_present[kgdb_port] = 0; 408 sb1250_duart_present[kgdb_port] = 0;
409#endif 409#endif
410 /* Setup uart 1 settings, mapper */ 410 /* Setup uart 1 settings, mapper */