mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-04 09:34:12 +08:00
bcma: mips: rename oldirqflag to irqinitmask
The new name better matches the use of this variable. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
8f9dc85348
commit
6ba1eafed1
@ -130,9 +130,9 @@ static void bcma_core_mips_set_irq(struct bcma_device *dev, unsigned int irq)
|
|||||||
bcma_read32(mdev, BCMA_MIPS_MIPS74K_INTMASK(0)) |
|
bcma_read32(mdev, BCMA_MIPS_MIPS74K_INTMASK(0)) |
|
||||||
(1 << irqflag));
|
(1 << irqflag));
|
||||||
} else {
|
} else {
|
||||||
u32 oldirqflag = bcma_read32(mdev,
|
u32 irqinitmask = bcma_read32(mdev,
|
||||||
BCMA_MIPS_MIPS74K_INTMASK(irq));
|
BCMA_MIPS_MIPS74K_INTMASK(irq));
|
||||||
if (oldirqflag) {
|
if (irqinitmask) {
|
||||||
struct bcma_device *core;
|
struct bcma_device *core;
|
||||||
|
|
||||||
/* backplane irq line is in use, find out who uses
|
/* backplane irq line is in use, find out who uses
|
||||||
@ -140,7 +140,7 @@ static void bcma_core_mips_set_irq(struct bcma_device *dev, unsigned int irq)
|
|||||||
*/
|
*/
|
||||||
list_for_each_entry(core, &bus->cores, list) {
|
list_for_each_entry(core, &bus->cores, list) {
|
||||||
if ((1 << bcma_core_mips_irqflag(core)) ==
|
if ((1 << bcma_core_mips_irqflag(core)) ==
|
||||||
oldirqflag) {
|
irqinitmask) {
|
||||||
bcma_core_mips_set_irq(core, 0);
|
bcma_core_mips_set_irq(core, 0);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user