1
linux/drivers/net/sfc
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
..
bitfield.h
efx.c sfc: Don't use enums as a bitmask. 2011-05-17 17:53:22 -04:00
efx.h sfc: Don't use enums as a bitmask. 2011-05-17 17:53:22 -04:00
enum.h
ethtool.c sfc: Don't use enums as a bitmask. 2011-05-17 17:53:22 -04:00
falcon_boards.c
falcon_xmac.c sfc: make function tables const 2011-04-14 21:53:42 -07:00
falcon.c sfc: make function tables const 2011-04-14 21:53:42 -07:00
filter.c
filter.h
io.h sfc: Use rmb() to ensure reads occur in order 2011-04-12 23:52:44 +01:00
Kconfig
mac.h sfc: make function tables const 2011-04-14 21:53:42 -07:00
Makefile
mcdi_mac.c sfc: make function tables const 2011-04-14 21:53:42 -07:00
mcdi_pcol.h Fix common misspellings 2011-03-31 11:26:23 -03:00
mcdi_phy.c ethtool: cosmetic: Use ethtool ethtool_cmd_speed API 2011-04-29 14:03:01 -07:00
mcdi.c sfc: Always map MCDI shared memory as uncacheable 2011-05-12 15:16:32 +01:00
mcdi.h
mdio_10g.c sfc: Don't use enums as a bitmask. 2011-05-17 17:53:22 -04:00
mdio_10g.h sfc: Don't use enums as a bitmask. 2011-05-17 17:53:22 -04:00
mtd.c
net_driver.h sfc: Don't use enums as a bitmask. 2011-05-17 17:53:22 -04:00
nic.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2011-05-17 17:33:11 -04:00
nic.h Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2011-05-17 17:33:11 -04:00
phy.h sfc: make function tables const 2011-04-14 21:53:42 -07:00
qt202x_phy.c sfc: make function tables const 2011-04-14 21:53:42 -07:00
regs.h
rx.c Add appropriate <linux/prefetch.h> include for prefetch users 2011-05-22 21:41:57 -07:00
selftest.c sfc: Use netif_device_{detach,attach}() around reset and self-test 2011-05-16 23:34:28 +01:00
selftest.h
siena.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2011-05-17 17:33:11 -04:00
spi.h
tenxpress.c ethtool: cosmetic: Use ethtool ethtool_cmd_speed API 2011-04-29 14:03:01 -07:00
tx.c sfc: Use netif_device_{detach,attach}() around reset and self-test 2011-05-16 23:34:28 +01:00
txc43128_phy.c sfc: make function tables const 2011-04-14 21:53:42 -07:00
workarounds.h sfc: Siena: Disable write-combining when SR-IOV is enabled 2011-03-23 01:35:15 +00:00