intc-arcv2.c (70f3522614e60b6125eff5f9dd7c887543812187) | intc-arcv2.c (76551468833cd5c356b1d9ff4bc9393fcf768a59) |
---|---|
1/* 2 * Copyright (C) 2014 Synopsys, Inc. (www.synopsys.com) 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License version 2 as 6 * published by the Free Software Foundation. 7 * 8 */ --- 81 unchanged lines hidden (view full) --- 90 * need to be unmasked at each cpu, with IPIs 91 */ 92 if (i < FIRST_EXT_IRQ) 93 write_aux_reg(AUX_IRQ_ENABLE, 0); 94 } 95 96 /* setup status32, don't enable intr yet as kernel doesn't want */ 97 tmp = read_aux_reg(ARC_REG_STATUS32); | 1/* 2 * Copyright (C) 2014 Synopsys, Inc. (www.synopsys.com) 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License version 2 as 6 * published by the Free Software Foundation. 7 * 8 */ --- 81 unchanged lines hidden (view full) --- 90 * need to be unmasked at each cpu, with IPIs 91 */ 92 if (i < FIRST_EXT_IRQ) 93 write_aux_reg(AUX_IRQ_ENABLE, 0); 94 } 95 96 /* setup status32, don't enable intr yet as kernel doesn't want */ 97 tmp = read_aux_reg(ARC_REG_STATUS32); |
98 tmp |= STATUS_AD_MASK | (ARCV2_IRQ_DEF_PRIO << 1); | 98 tmp |= ARCV2_IRQ_DEF_PRIO << 1; |
99 tmp &= ~STATUS_IE_MASK; 100 asm volatile("kflag %0 \n"::"r"(tmp)); 101} 102 103static void arcv2_irq_mask(struct irq_data *data) 104{ 105 write_aux_reg(AUX_IRQ_SELECT, data->hwirq); 106 write_aux_reg(AUX_IRQ_ENABLE, 0); --- 89 unchanged lines hidden --- | 99 tmp &= ~STATUS_IE_MASK; 100 asm volatile("kflag %0 \n"::"r"(tmp)); 101} 102 103static void arcv2_irq_mask(struct irq_data *data) 104{ 105 write_aux_reg(AUX_IRQ_SELECT, data->hwirq); 106 write_aux_reg(AUX_IRQ_ENABLE, 0); --- 89 unchanged lines hidden --- |