1. 25 8月, 2011 13 次提交
  2. 30 6月, 2011 6 次提交
  3. 24 5月, 2011 13 次提交
  4. 23 5月, 2011 1 次提交
    • P
      Add appropriate <linux/prefetch.h> include for prefetch users · 70c71606
      Paul Gortmaker 提交于
      After discovering that wide use of prefetch on modern CPUs
      could be a net loss instead of a win, net drivers which were
      relying on the implicit inclusion of prefetch.h via the list
      headers showed up in the resulting cleanup fallout.  Give
      them an explicit include via the following $0.02 script.
      
       =========================================
       #!/bin/bash
       MANUAL=""
       for i in `git grep -l 'prefetch(.*)' .` ; do
       	grep -q '<linux/prefetch.h>' $i
       	if [ $? = 0 ] ; then
       		continue
       	fi
      
       	(	echo '?^#include <linux/?a'
       		echo '#include <linux/prefetch.h>'
       		echo .
       		echo w
       		echo q
       	) | ed -s $i > /dev/null 2>&1
       	if [ $? != 0 ]; then
       		echo $i needs manual fixup
       		MANUAL="$i $MANUAL"
       	fi
       done
       echo ------------------- 8\<----------------------
       echo vi $MANUAL
       =========================================
      Signed-off-by: NPaul <paul.gortmaker@windriver.com>
      [ Fixed up some incorrect #include placements, and added some
        non-network drivers and the fib_trie.c case    - Linus ]
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      70c71606
  5. 31 3月, 2011 1 次提交
  6. 28 3月, 2011 1 次提交
    • L
      drbd: fix up merge error · 7e599e6e
      Linus Torvalds 提交于
      In commit 95a0f10c ("drbd: store in-core bitmap little endian,
      regardless of architecture") drbd had made the sane choice to use
      little-endian bitmap functions everywhere.  However, it used the
      horrible old functions names from <asm-generic/bitops/le.h>, that were
      never really meant to be exported.
      
      In the meantime, things got cleaned up, and in commit c4945b9e
      ("asm-generic: rename generic little-endian bitops functions") we
      renamed the LE bitops to something sane, exactly so that they could be
      used in random code without people gouging their eyes out when seeing
      the crazy jumble of letters that were the old internal names.
      
      As a result the drbd thing merged cleanly (commit 8d49a775: "Merge
      branch 'for-2.6.39/drivers' of git://git.kernel.dk/linux-2.6-block"),
      since there was no data conflict - but the end result obviously doesn't
      actually compile.
      Reported-and-tested-by: NIngo Molnar <mingo@elte.hu>
      Cc: Jens Axboe <jaxboe@fusionio.com>
      Cc: Stephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      7e599e6e
  7. 17 3月, 2011 1 次提交
  8. 10 3月, 2011 4 次提交