2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 04:34:11 +08:00
linux-next/drivers/infiniband/hw/amso1100
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
..
c2_ae.c Fix common misspellings 2011-03-31 11:26:23 -03:00
c2_ae.h RDMA/amso1100: Add driver for Ammasso 1100 RNIC 2006-09-22 15:22:48 -07:00
c2_alloc.c RDMA/amso1100: Use the dma state API instead of pci equivalents 2010-04-21 15:23:10 -07:00
c2_cm.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
c2_cq.c RDMA/amso1100: Use the dma state API instead of pci equivalents 2010-04-21 15:23:10 -07:00
c2_intr.c RDMA/amso1100: Remove KERN_<level> from pr_<level> use 2010-09-28 20:51:20 -07:00
c2_mm.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
c2_mq.c RDMA/amso1100: Start of endianness annotation 2008-04-16 21:01:08 -07:00
c2_mq.h RDMA/amso1100: Use the dma state API instead of pci equivalents 2010-04-21 15:23:10 -07:00
c2_pd.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
c2_provider.c IB/core: Allow device-specific per-port sysfs files 2010-05-21 10:34:44 -07:00
c2_provider.h RDMA/amso1100: Use the dma state API instead of pci equivalents 2010-04-21 15:23:10 -07:00
c2_qp.c Fix common misspellings 2011-03-31 11:26:23 -03:00
c2_rnic.c RDMA: Use vzalloc() to replace vmalloc()+memset(0) 2011-01-12 11:11:58 -08:00
c2_status.h RDMA/amso1100: Add driver for Ammasso 1100 RNIC 2006-09-22 15:22:48 -07:00
c2_user.h RDMA/amso1100: Add driver for Ammasso 1100 RNIC 2006-09-22 15:22:48 -07:00
c2_vq.c RDMA/amso1100: Fix compile warnings 2011-01-28 15:40:25 -08:00
c2_vq.h RDMA/amso1100: Add driver for Ammasso 1100 RNIC 2006-09-22 15:22:48 -07:00
c2_wr.h Fix common misspellings 2011-03-31 11:26:23 -03:00
c2.c Add appropriate <linux/prefetch.h> include for prefetch users 2011-05-22 21:41:57 -07:00
c2.h RDMA/amso1100: Use the dma state API instead of pci equivalents 2010-04-21 15:23:10 -07:00
Kbuild IB: Replace EXTRA_CFLAGS with ccflags-y 2010-10-23 13:45:03 -07:00
Kconfig IB: Use menuconfig for InfiniBand menu 2007-07-09 20:12:26 -07:00