1. 09 May, 2008 3 commits
    • Paul Walmsley's avatar
      fix sparse, checkpatch warnings in OMAP2/3 SMS/GPMC/SRAM code · d9434976
      Paul Walmsley authored
      Fix sparse warnings in SMS, GPMC, SRAM code involving arch/arm/mach-omap2/.
      These fixes mostly consist of:
      
      - tagging appropriate integer<->pointer casts with __force
      
      - marking private structures and functions as static; adding function
        prototypes in .h files for public functions
      
      - assigning NULL to pointers in structure initializers, not 0
      
      - adding prototypes for *_init() functions in the appropriate header
        files, and getting rid of the corresponding open-coded extern
        prototypes in other C files
      
      Also clean up some checkpatch issues by converting some asm/ includes
      to linux/ includes.
      Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      d9434976
    • Paul Walmsley's avatar
      fix sparse, checkpatch warnings in OMAP2/3 PRCM/PM code · 347df59f
      Paul Walmsley authored
      Fix sparse & checkpatch warnings in OMAP2/3 PRCM & PM code.  This mostly
      consists of:
      
      - converting pointer comparisons to integers in form similar to
        (ptr == 0) to the standard idiom (!ptr)
      
      - labeling a few non-static private functions as static
      
      - tagging appropriate integer<->pointer casts with __force
      
      - adding prototypes for *_init() functions in the appropriate header
        files, and getting rid of the corresponding open-coded extern
        prototypes in other C files
      
      - renaming the variable 'sclk' in mach-omap2/clock.c:omap2_get_apll_clkin
        to avoid shadowing an earlier declaration
      
      Clean up checkpatch issues.  This mostly involves:
      
      - converting some asm/ includes to linux/ includes
      
      - cleaning up some whitespace
      
      - getting rid of braces for conditionals with single following statements
      
      Also take care of a few odds and ends, including:
      
      - getting rid of unlikely() and likely() - none of this code is particularly
        fast-path code, so the performance impact seems slim; and some of those
        likely() and unlikely() indicators are probably not as accurate as the
        ARM's branch predictor
      
      - removing some superfluous casts
      Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      347df59f
    • Tony Lindgren's avatar
      Whitespace fix to sync with mainline · 5de869d6
      Tony Lindgren authored
      Whitespace fix to sync with mainline
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      5de869d6
  2. 08 May, 2008 3 commits
    • Tony Lindgren's avatar
      Merge current mainline tree into linux-omap tree · cb170dcd
      Tony Lindgren authored
      Merge branches 'master' and 'linus'
      cb170dcd
    • Woodruff, Richard's avatar
      ARM: OMAP: timer optimization part 2. · f620756f
      Woodruff, Richard authored
      This patch optimizes the timer load and start sequence.  By combining the
      load and start a needless posted wait can be removed from the system timer
      execution path.
      
      * Before patch register writes are taking up .078% @ 500MHz during idle.
      
       Address                 |total  |min  |max      |avr     |count|ratio%
       old\process\default_idle|7.369s |0.0us|999.902ms|14.477ms|509. |62.661%
       ld\Global\cpu_v7_do_idle|4.265s |0.0us|375.786ms|24.374ms|175. |36.270%
                      (UNKNOWN)|17.503ms|0.us|531.080us|5.119us|3419. |0.148%
       r\omap_dm_timer_set_load|8.135ms|0.0us|79.887us|15.065us|540.  |0.069% <--
       \vmlinux-old\Global\_end|2.023ms|0.0us|4.000us|0.560us|3613.   |0.017%
       -old\Global\__raw_readsw|1.962ms|0.0us|108.610us|9.167us|214.  |0.016%
       old\smc91x\smc_interrupt|1.353ms|0.0us|10.212us|2.348us|576.   |0.011%
       s/namei\__link_path_walk|1.161ms|0.0us|4.310us|0.762us|  1524. |0.009%
       \omap_dm_timer_write_reg|1.085ms|0.0us|126.150us|2.153us|504.  |0.009% <--
      
      * After patch timer functions do not show up in top listings for long captures.
      Signed-off-by: default avatarRichard Woodruff <r-woodruff2@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      f620756f
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6 · 3de2403e
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6:
        sparc: Fix fork/clone/vfork system call restart.
        sparc: Fix mmap VA span checking.
      3de2403e
  3. 07 May, 2008 9 commits
  4. 06 May, 2008 25 commits