]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Blackfin arch: clean up some coding style issues
authorBryan Wu <bryan.wu@analog.com>
Thu, 12 Jul 2007 09:26:31 +0000 (17:26 +0800)
committerBryan Wu <bryan.wu@analog.com>
Thu, 12 Jul 2007 09:26:31 +0000 (17:26 +0800)
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
arch/blackfin/mach-common/ints-priority-dc.c
arch/blackfin/mach-common/ints-priority-sc.c
include/asm-blackfin/mach-bf548/cdefBF54x_base.h
include/asm-blackfin/mach-bf561/cdefBF561.h
include/asm-blackfin/mman.h

index 7977c2c408670ac0572d3dc5ce45630c417ab3da..6b9fd03ce8355135b7227b9073d2249690aff766 100644 (file)
@@ -371,8 +371,8 @@ int __init init_arch_irq(void)
        bfin_write_SICA_IMASK1(SIC_UNMASK_ALL);
        SSYNC();
 
-       bfin_write_SICA_IWR0(IWR_ENABLE_ALL);  
-       bfin_write_SICA_IWR1(IWR_ENABLE_ALL);  
+       bfin_write_SICA_IWR0(IWR_ENABLE_ALL);
+       bfin_write_SICA_IWR1(IWR_ENABLE_ALL);
 
        local_irq_disable();
 
index c3bb2fbd6428aa0552d94ee65216e40e58186ca3..28a878c3577a00d78e280b137e09be5124c4351d 100644 (file)
@@ -147,8 +147,8 @@ static void bfin_internal_mask_irq(unsigned int irq)
        unsigned mask_bank, mask_bit;
        mask_bank = (irq - (IRQ_CORETMR + 1)) / 32;
        mask_bit = (irq - (IRQ_CORETMR + 1)) % 32;
-       bfin_write_SIC_IMASK( mask_bank, bfin_read_SIC_IMASK(mask_bank) & \
-                           ~(1 << mask_bit));
+       bfin_write_SIC_IMASK(mask_bank, bfin_read_SIC_IMASK(mask_bank) &
+                            ~(1 << mask_bit));
 #endif
        SSYNC();
 }
@@ -161,9 +161,9 @@ static void bfin_internal_unmask_irq(unsigned int irq)
 #else
        unsigned mask_bank, mask_bit;
        mask_bank = (irq - (IRQ_CORETMR + 1)) / 32;
-       mask_bit = (irq - (IRQ_CORETMR + 1))%32;
-       bfin_write_SIC_IMASK(mask_bank, bfin_read_SIC_IMASK(mask_bank) | \
-                       1 << mask_bit));
+       mask_bit = (irq - (IRQ_CORETMR + 1)) % 32;
+       bfin_write_SIC_IMASK(mask_bank, bfin_read_SIC_IMASK(mask_bank) |
+                            (1 << mask_bit));
 #endif
        SSYNC();
 }
@@ -728,7 +728,7 @@ int __init init_arch_irq(void)
        bfin_write_SIC_IMASK2(SIC_UNMASK_ALL);
        bfin_write_SIC_IWR0(IWR_ENABLE_ALL);
        bfin_write_SIC_IWR1(IWR_ENABLE_ALL);
-       bfin_write_SIC_IWR2(IWR_ENABLE_ALL);            
+       bfin_write_SIC_IWR2(IWR_ENABLE_ALL);
 #else
        bfin_write_SIC_IMASK(SIC_UNMASK_ALL);
        bfin_write_SIC_IWR(IWR_ENABLE_ALL);
@@ -878,7 +878,6 @@ void do_irq(int vec, struct pt_regs *fp)
                sic_status[0] = bfin_read_SIC_ISR(0) & bfin_read_SIC_IMASK(0);
                sic_status[1] = bfin_read_SIC_ISR(1) & bfin_read_SIC_IMASK(1);
                sic_status[2] = bfin_read_SIC_ISR(2) & bfin_read_SIC_IMASK(2);
-               
 
                for (;; ivg++) {
                        if (ivg >= ivg_stop) {
index 87f2385ed971b7125a50762d65026eb01a0fc15b..98d35a9291165d61cacc8167ac24b48d5724be1b 100644 (file)
@@ -68,7 +68,6 @@ static __inline__ void bfin_write_VR_CTL(unsigned int val)
        bfin_write32(SIC_IWR0, iwr0);
        bfin_write32(SIC_IWR1, iwr1);
        bfin_write32(SIC_IWR2, iwr2);
-       
 }
 #define bfin_read_PLL_STAT()           bfin_read16(PLL_STAT)
 #define bfin_write_PLL_STAT(val)       bfin_write16(PLL_STAT, val)
index 6e8b8168a97aa0d45188a08c1b227baf84bdc0b1..1a8ec9e46922295ecd513de90bd2a608defe534e 100644 (file)
@@ -74,7 +74,6 @@ static __inline__ void bfin_write_VR_CTL(unsigned int val)
        local_irq_restore(flags);
        bfin_write32(SICA_IWR0, iwr0);
        bfin_write32(SICA_IWR1, iwr1);
-
 }
 #define bfin_read_PLL_STAT()                 bfin_read16(PLL_STAT)
 #define bfin_write_PLL_STAT(val)             bfin_write16(PLL_STAT,val)
index 4d504f908c0ce80867de94ab9f84050dfdeaf702..b58f5ad3f024bed59d328d9773b7675537a23fe0 100644 (file)
@@ -22,8 +22,6 @@
 #define MAP_NORESERVE  0x4000  /* don't check for reservations */
 #define MAP_POPULATE   0x8000  /* populate (prefault) pagetables */
 #define MAP_NONBLOCK   0x10000 /* do not block on IO */
-#define MAP_UNINITIALIZE 0x4000000  /* For anonymous mmap, memory could
-                                    be uninitialized. */
 
 #define MS_ASYNC       1       /* sync memory asynchronously */
 #define MS_INVALIDATE  2       /* invalidate the caches */