linux_old1/drivers/net/igbvf
Paul Gortmaker 70c7160619 Add appropriate <linux/prefetch.h> include for prefetch users
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: Paul <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: Linus Torvalds <torvalds@linux-foundation.org>
2011-05-22 21:41:57 -07:00
..
Makefile igbvf: Update version and Copyright 2010-11-16 19:41:35 -08:00
defines.h igbvf: Update version and Copyright 2010-11-16 19:41:35 -08:00
ethtool.c igbvf: remove bogus phys_id 2011-05-04 12:12:22 -07:00
igbvf.h igbvf: remove Tx hang detection 2011-02-24 02:38:38 -08:00
mbx.c igbvf: Update version and Copyright 2010-11-16 19:41:35 -08:00
mbx.h igbvf: Update version and Copyright 2010-11-16 19:41:35 -08:00
netdev.c Add appropriate <linux/prefetch.h> include for prefetch users 2011-05-22 21:41:57 -07:00
regs.h igbvf: Update version and Copyright 2010-11-16 19:41:35 -08:00
vf.c igb: fix sparse warning 2011-03-02 03:33:48 -08:00
vf.h igbvf: add support for i350 VF device 2010-12-24 21:38:47 -08:00