]> git.baikalelectronics.ru Git - kernel.git/commit
i40evf: fix s390 build failure due to implicit prefetch.h
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sat, 11 Jan 2014 04:00:31 +0000 (04:00 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 11 Jan 2014 00:41:18 +0000 (16:41 -0800)
commitd65b0dcabd16e76432e04c5c3197f149011a2f0f
treefbf0818b95ad5deddb986bd2cba98bc1ee34fd68
parent22eff6a020ac06cdbfe7327c7d8fe3ac92e03a65
i40evf: fix s390 build failure due to implicit prefetch.h

As of commit 89de1c5a5c20e980784a757b87e202f84f398764 ("i40evf: transmit
and receive functionality") the s390 builds (allyesconfig) fail with:

drivers/net/ethernet/intel/i40evf/i40e_txrx.c: In function 'i40e_clean_rx_irq':
drivers/net/ethernet/intel/i40evf/i40e_txrx.c:818:3: error: implicit declaration of function 'prefetch'
make[5]: *** [drivers/net/ethernet/intel/i40evf/i40e_txrx.o] Error 1

due to an implicit assumption that the prototype from linux/prefetch.h
will be present.

Cc: Mitch Williams <mitch.a.williams@intel.com>
Cc: Greg Rose <gregory.v.rose@intel.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Acked-by: Shannon Nelson <shannon.nelson@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40evf/i40e_txrx.c