ixgbe: Use __free_pages instead of put_page to release pages
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 6 Apr 2012 04:24:50 +0000 (04:24 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 4 May 2012 10:20:35 +0000 (03:20 -0700)
commitdd411ec4a5743f9108a4bce1b9399a856c6d0378
treeda2f837afd7d786e29d4d28c7989d70b18a74b7a
parent786e9a5f590f367fffad4c528c97d1f1e155a0ef
ixgbe: Use __free_pages instead of put_page to release pages

This change replaces the calls to put_page with calls to __free_page.

Since the FCoE code is able to access order 1 pages I thought it would be a
good idea to change things over to using __free_pages since that is the
preferred approach for freeing pages.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Ross Brattain <ross.b.brattain@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c