1. 25 1月, 2008 12 次提交
  2. 24 12月, 2007 1 次提交
  3. 18 12月, 2007 2 次提交
  4. 30 11月, 2007 2 次提交
  5. 29 11月, 2007 1 次提交
  6. 23 11月, 2007 1 次提交
  7. 15 11月, 2007 1 次提交
  8. 08 11月, 2007 1 次提交
  9. 06 11月, 2007 1 次提交
  10. 31 10月, 2007 1 次提交
  11. 26 10月, 2007 1 次提交
    • J
      Permit silencing of __deprecated warnings. · de488443
      Jeff Garzik 提交于
      The __deprecated marker is quite useful in highlighting the remnants of
      old APIs that want removing.
      
      However, it is quite normal for one or more years to pass, before the
      (usually ancient, bitrotten) code in question is either updated or
      deleted.
      
      Thus, like __must_check, add a Kconfig option that permits the silencing
      of this compiler warning.
      
      This change mimics the ifdef-ery and Kconfig defaults of MUST_CHECK as
      closely as possible.
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      de488443
  12. 23 10月, 2007 2 次提交
  13. 21 10月, 2007 2 次提交
  14. 20 10月, 2007 8 次提交
  15. 19 10月, 2007 1 次提交
  16. 17 10月, 2007 3 次提交
    • R
      lib/iomap.c:bad_io_access(): print 0x hex prefix · debe6214
      Rene Herman 提交于
      Be explicit about printing hex.
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      debe6214
    • P
      avoid negative (and full-width) shifts in radix-tree.c · 430d275a
      Peter Lund 提交于
      Negative shifts are not allowed in C (the result is undefined).  Same thing
      with full-width shifts.
      
      It works on most platforms but not on the VAX with gcc 4.0.1 (it results in an
      "operand reserved" fault).
      
      Shifting by more than the width of the value on the left is also not
      allowed.  I think the extra '>> 1' tacked on at the end in the original
      code was an attempt to work around that.  Getting rid of that is an extra
      feature of this patch.
      
      Here's the chapter and verse, taken from the final draft of the C99
      standard ("6.5.7 Bitwise shift operators", paragraph 3):
      
        "The integer promotions are performed on each of the operands. The
        type of the result is that of the promoted left operand. If the
        value of the right operand is negative or is greater than or equal
        to the width of the promoted left operand, the behavior is
        undefined."
      
      Thank you to Jan-Benedict Glaw, Christoph Hellwig, Maciej Rozycki, Pekka
      Enberg, Andreas Schwab, and Christoph Lameter for review.  Special thanks
      to Andreas for spotting that my fix only removed half the undefined
      behaviour.
      Signed-off-by: NPeter Lund <firefly@vax64.dk>
      Christoph Lameter <clameter@sgi.com>
      Cc: Christoph Hellwig <hch@infradead.org>
      Cc: "Maciej W. Rozycki" <macro@linux-mips.org>
      Cc: Pekka Enberg <penberg@cs.helsinki.fi>
      Cc: Andreas Schwab <schwab@suse.de>
      Cc: Nick Piggin <nickpiggin@yahoo.com.au>
      Cc: WU Fengguang <wfg@mail.ustc.edu.cn>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      430d275a
    • J
      handle recursive calls to bust_spinlocks() · 00442995
      Jan Beulich 提交于
      Various architectures may call bust_spinlocks() recursively; the function
      itself, however, doesn't appear to be meant to be called in this manner.
      Nevertheless, this doesn't appear to be a problem as long as
      bust_spinlocks(0) doesn't get called twice in a row (otherwise,
      unblank_screen() may enter the scheduler).  However, at least on i386 die()
      has been capable of returning (and on other architectures this should
      really be that way, too) when notify_die() returns NOTIFY_STOP.
      
      Short of getting a reply to a respective query, this patch makes
      bust_spinlocks() increment/decrement oops_in_progress, and wake klogd only
      when the count drops back to zero.
      Signed-off-by: NJan Beulich <jbeulich@novell.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      00442995