linux_dsm_epyc7002/drivers/net/igb
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
..
e1000_82575.c igb: Add check for invalid size to igb_get_invariants_82575() 2011-05-04 12:09:53 -07:00
e1000_82575.h igb: Add Energy Efficient Ethernet (EEE) for i350 devices. 2011-03-12 04:09:20 -08:00
e1000_defines.h igb: Add messaging for thermal sensor events on i350 devices 2011-03-14 22:26:54 -07:00
e1000_hw.h igb: Update NVM functions to work with i350 devices 2011-03-12 04:09:37 -08:00
e1000_mac.c Fix common misspellings 2011-03-31 11:26:23 -03:00
e1000_mac.h igb: remove adaptive IFS from driver 2010-02-17 13:21:34 -08:00
e1000_mbx.c igb: Enable PF side of SR-IOV support for i350 devices 2011-02-11 08:42:47 -08:00
e1000_mbx.h igb: rework use of VMOLR in regards to PF and VFs 2009-10-28 03:25:40 -07:00
e1000_nvm.c igb: Update NVM functions to work with i350 devices 2011-03-12 04:09:37 -08:00
e1000_nvm.h igb: Update NVM functions to work with i350 devices 2011-03-12 04:09:37 -08:00
e1000_phy.c Fix common misspellings 2011-03-31 11:26:23 -03:00
e1000_phy.h igb: Add support for DH89xxCC 2010-09-22 21:20:04 -07:00
e1000_regs.h igb: Add messaging for thermal sensor events on i350 devices 2011-03-14 22:26:54 -07:00
igb_ethtool.c igb: convert to ethtool set_phys_id 2011-05-07 03:11:57 -07:00
igb_main.c Add appropriate <linux/prefetch.h> include for prefetch users 2011-05-22 21:41:57 -07:00
igb.h net/igb/e1000/e1000e: more robust ethtool duplex/speed configuration 2011-04-29 14:03:03 -07:00
Makefile igb: Add support for enabling VFs to PF driver. 2009-02-20 00:22:54 -08:00