1. 27 Apr, 2005 1 commit
  2. 26 Apr, 2005 35 commits
  3. 25 Apr, 2005 4 commits
    • Linus Torvalds's avatar
    • Deepak Saxena's avatar
      [PATCH] ARM: 2653/1: Fix memset and memzero macro double-reference of parameters · 2fac6f3f
      Deepak Saxena authored
      Patch from Deepak Saxena
      
      The current memset() and memzero() macros on ARM reference the
      incoming parameters more than once and this can cause uninted
      side-effects. The issue was found while debugging SCTP protocol
      and with the specific usage of memzero(skb_put(skb,size),size).
      This call would call skb_put(skb,size) twice leading to badness.
      The fixed version copies the incoming parameters into local
      variables and uses those instead.
      
      Signed-off-by: Deepak Saxena
      Signed-off-by: Russell King
      2fac6f3f
    • Jeff Lackey's avatar
      [PATCH] ARM: 2650/1: PXA27x sleep - workaround Errata 39 & 50 (Patch 2667) · 41130d37
      Jeff Lackey authored
      Patch from Jeff Lackey
      
      This patch updates arch/arm/mach-pxa/sleep.S to support
      the PXA270 CPU.  It works around Errata 39 & 50 from the
      Intel(R) PXA27x Processor Family Specification Update.
      
      Signed-off-by: Jeff Lackey
      Signed-off-by: Russell King
      41130d37
    • Michael Chan's avatar
      [TG3]: Fix tg3_restart_ints() · 04237ddd
      Michael Chan authored
      tg3_restart_ints() is called to re-enable interrupts after tg3_poll()
      has finished all the work. It calls tg3_cond_int() to force an interrupt
      if the status block updated bit is set. The updated bit will be set if
      there is a new status block update sometime during tg3_poll() and it can
      be very often. The worst part is that even if all the work has been
      processed, the updated bit remains set and an interrupt will be forced
      unnecessarily.
      
      The fix is to call tg3_has_work() instead to determine if new work is
      posted before forcing an interrupt. The way to force an interrupt is
      also changed to use "coalesce_now" instead of "SETINT". The former is
      generally a safer way to force the interrupt.
      
      Also deleted the first parameter to tg3_has_work() which is unused.
      Signed-off-by: default avatarMichael Chan <mchan@broadcom.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      04237ddd