1. 05 5月, 2007 4 次提交
  2. 04 5月, 2007 1 次提交
  3. 03 5月, 2007 1 次提交
  4. 29 4月, 2007 1 次提交
  5. 27 4月, 2007 15 次提交
  6. 26 4月, 2007 2 次提交
    • D
      [S390]: Fix build on 31-bit. · cb8c181f
      David S. Miller 提交于
      Allow s390 to properly override the generic
      __div64_32() implementation by:
      
      1) Using obj-y for div64.o in s390's makefile instead
         of lib-y
      
      2) Adding the weak attribute to the generic implementation.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      cb8c181f
    • R
      [NET]: Inline net_device_stats · c45d286e
      Rusty Russell 提交于
      Network drivers which keep stats allocate their own stats structure
      then write a get_stats() function to return them.  It would be nice if
      this were done by default.
      
      1) Add a new "stats" field to "struct net_device".
      2) Add a new feature field to say "this driver uses the internal one"
      3) Have a default "get_stats" which returns NULL if that feature not set.
      4) Change callers to check result of get_stats call for NULL, not if
         ->get_stats is set.
      
      This should not break backwards compatibility with older drivers, yet
      allow modern drivers to shed some boilerplate code.
      
      Lightly tested: works for a modified lguest network driver.
      Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      c45d286e
  7. 27 3月, 2007 1 次提交
    • D
      [S390] kprobes: Align probe address. · b70842df
      David Wilder 提交于
      Running a probe on s390 with a probe address that is not 4 byte aligned
      results in a Kernel BUG.  The problem is that the stura instruction used
      by swap_instruction requires the destination address to be 4 byte aligned.
      As stura only writes 4 bytes, aligning to the next 4 byte aligned address
      results in the breakpoint instruction being stored past the probe address.
      The fix is to align the address backward (to the previous 4 byte aligned
      address) and writing the two byte breakpoint instruction in the appropriate
      bytes.
      
      Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
      Signed-off-by: NDavid Wilder <dwilder@us.ibm.com>
      Signed-off-by: NHeiko Carstens <heiko.carstens@de.ibm.com>
      b70842df
  8. 19 3月, 2007 5 次提交
  9. 15 3月, 2007 1 次提交
  10. 06 3月, 2007 5 次提交
  11. 21 2月, 2007 4 次提交