1. 09 10月, 2008 20 次提交
  2. 07 10月, 2008 12 次提交
  3. 06 10月, 2008 1 次提交
  4. 04 10月, 2008 1 次提交
    • L
      e1000e: Fix incorrect debug warning · 95b866d5
      Linus Torvalds 提交于
      Doing 'WARN_ON(preempt_count())' was horribly horribly wrong, and would
      cause tons of warnings at bootup if PREEMPT was enabled because the
      initcalls currently run with the kernel lock, which increments the
      preempt count.
      
      At the same time, the warning was also insufficient, since it didn't
      check that interrupts were enabled.
      
      The proper debug function to use for something that can sleep and wants
      a warning if it's called in the wrong context is 'might_sleep()'.
      Reported-by: NChristian Borntraeger <borntraeger@de.ibm.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      95b866d5
  5. 03 10月, 2008 6 次提交