diff options
author | Mike Frysinger <michael.frysinger@analog.com> | 2007-07-12 10:58:21 -0400 |
---|---|---|
committer | Bryan Wu <bryan.wu@analog.com> | 2007-07-12 10:58:21 -0400 |
commit | 1f83b8f148a1eb967d2a628cbb741cd56fb54572 (patch) | |
tree | 43b56238822ab35ec90a9ee9e9c014247950622f /arch/blackfin/mach-common/ints-priority-sc.c | |
parent | 669b792c77bbc30e9f4d9c95dbc918dc348c49c2 (diff) |
Blackfin arch: cleanup warnings from checkpatch -- no functional changes
Signed-off-by: Mike Frysinger <michael.frysinger@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'arch/blackfin/mach-common/ints-priority-sc.c')
-rw-r--r-- | arch/blackfin/mach-common/ints-priority-sc.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/blackfin/mach-common/ints-priority-sc.c b/arch/blackfin/mach-common/ints-priority-sc.c index 27838da55d6c..9f962f9df087 100644 --- a/arch/blackfin/mach-common/ints-priority-sc.c +++ b/arch/blackfin/mach-common/ints-priority-sc.c | |||
@@ -146,8 +146,8 @@ static void bfin_internal_mask_irq(unsigned int irq) | |||
146 | ~(1 << (irq - (IRQ_CORETMR + 1)))); | 146 | ~(1 << (irq - (IRQ_CORETMR + 1)))); |
147 | #else | 147 | #else |
148 | unsigned mask_bank, mask_bit; | 148 | unsigned mask_bank, mask_bit; |
149 | mask_bank = (irq - (IRQ_CORETMR +1))/32; | 149 | mask_bank = (irq - (IRQ_CORETMR + 1)) / 32; |
150 | mask_bit = (irq - (IRQ_CORETMR + 1))%32; | 150 | mask_bit = (irq - (IRQ_CORETMR + 1)) % 32; |
151 | bfin_write_SIC_IMASK( mask_bank, bfin_read_SIC_IMASK(mask_bank) & \ | 151 | bfin_write_SIC_IMASK( mask_bank, bfin_read_SIC_IMASK(mask_bank) & \ |
152 | ~(1 << mask_bit)); | 152 | ~(1 << mask_bit)); |
153 | #endif | 153 | #endif |
@@ -161,7 +161,7 @@ static void bfin_internal_unmask_irq(unsigned int irq) | |||
161 | (1 << (irq - (IRQ_CORETMR + 1)))); | 161 | (1 << (irq - (IRQ_CORETMR + 1)))); |
162 | #else | 162 | #else |
163 | unsigned mask_bank, mask_bit; | 163 | unsigned mask_bank, mask_bit; |
164 | mask_bank = (irq - (IRQ_CORETMR +1))/32; | 164 | mask_bank = (irq - (IRQ_CORETMR + 1)) / 32; |
165 | mask_bit = (irq - (IRQ_CORETMR + 1))%32; | 165 | mask_bit = (irq - (IRQ_CORETMR + 1))%32; |
166 | bfin_write_SIC_IMASK(mask_bank, bfin_read_SIC_IMASK(mask_bank) | \ | 166 | bfin_write_SIC_IMASK(mask_bank, bfin_read_SIC_IMASK(mask_bank) | \ |
167 | ( 1 << mask_bit)); | 167 | ( 1 << mask_bit)); |
@@ -439,7 +439,7 @@ static void bfin_demux_gpio_irq(unsigned int intb_irq, | |||
439 | { | 439 | { |
440 | u16 i; | 440 | u16 i; |
441 | 441 | ||
442 | for (i = 0; i < MAX_BLACKFIN_GPIOS; i+=16) { | 442 | for (i = 0; i < MAX_BLACKFIN_GPIOS; i += 16) { |
443 | int irq = IRQ_PF0 + i; | 443 | int irq = IRQ_PF0 + i; |
444 | int flag_d = get_gpiop_data(i); | 444 | int flag_d = get_gpiop_data(i); |
445 | int mask = | 445 | int mask = |
@@ -590,7 +590,7 @@ void do_irq(int vec, struct pt_regs *fp) | |||
590 | sic_status[1] = bfin_read_SIC_ISR(1) & bfin_read_SIC_IMASK(1); | 590 | sic_status[1] = bfin_read_SIC_ISR(1) & bfin_read_SIC_IMASK(1); |
591 | sic_status[2] = bfin_read_SIC_ISR(2) & bfin_read_SIC_IMASK(2); | 591 | sic_status[2] = bfin_read_SIC_ISR(2) & bfin_read_SIC_IMASK(2); |
592 | SSYNC(); | 592 | SSYNC(); |
593 | for(;; ivg++) { | 593 | for (;; ivg++) { |
594 | if (ivg >= ivg_stop) { | 594 | if (ivg >= ivg_stop) { |
595 | atomic_inc(&num_spurious); | 595 | atomic_inc(&num_spurious); |
596 | return; | 596 | return; |