1. 05 Oct, 2007 3 commits
    • Francois Romieu's avatar
      r8169: revert part of 6dccd16b · c946b304
      Francois Romieu authored
      The 8169/8110SC currently announces itself as:
      [...]
      eth0: RTL8169sc/8110sc at 0x........, ..:..:..:..:..:.., XID 18000000 IRQ ..
                                                                   ^^^^^^^^
      It uses RTL_GIGA_MAC_VER_05 and this part of the changeset can cut
      its performance by a factor of 2~2.5 as reported by Timo.
      
      (the driver includes code just before the hunk to write the ChipCmd
      register when mac_version == RTL_GIGA_MAC_VER_0[1-4])
      Signed-off-by: default avatarFrancois Romieu <romieu@fr.zoreil.com>
      Cc: Timo Jantunen <jeti@welho.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      c946b304
    • Linus Torvalds's avatar
      Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 · af299901
      Linus Torvalds authored
      * 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6:
        [SPARC64]: Fix 'niu' complex IRQ probing.
        [SPARC64]: check fork_idle() error
        [SPARC64]: Temporary workaround for PCI-E slot on T1000.
        [SPARC64]: VIO device addition log message level is too high.
        [SPARC64]: Fix domain-services port probing.
        [SPARC64]: Don't use in/local regs for ldx/stx data in N1 memcpy.
      af299901
    • Serge Belyshev's avatar
      Remove unnecessary cast in prefetch() · 4ecbca85
      Serge Belyshev authored
      It is ok to call prefetch() function with NULL argument, as specifically
      commented in include/linux/prefetch.h.  But in standard C, it is invalid
      to dereference NULL pointer (see C99 standard 6.5.3.2 paragraph 4 and
      note #84).
      
      prefetch() has a memory reference for its argument.
      
      Newer gcc versions (4.3 and above) will use that to conclude that "x"
      argument is non-null and thus wreaking havok everywhere prefetch() was
      inlined.
      
      Fixed by removing cast and changing asm constraint.
      
      [ It seems in theory gcc 4.2 could miscompile this too; although no
        cases known.  In 2.6.24 we should probably switch to
        __builtin_prefetch() instead, but this is a simpler fix for now.
      				-- AK ]
      Signed-off-by: default avatarSerge Belyshev <belyshev@depni.sinp.msu.ru>
      Signed-off-by: default avatarAndi Kleen <ak@suse.de>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      4ecbca85
  2. 04 Oct, 2007 8 commits
  3. 03 Oct, 2007 15 commits
  4. 02 Oct, 2007 14 commits