rionet: fix page allocation order of rionet_active
authorAkinobu Mita <akinobu.mita@gmail.com>
Fri, 30 Mar 2012 01:01:46 +0000 (01:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Apr 2012 03:17:16 +0000 (23:17 -0400)
commitacc656323ab904803393acefdc8e1b78cde752e5
tree4d11bd3fc1c943d639af8d1bd68c0eb211309d55
parent3f8c91a7398b9266fbe7abcbe4bd5dffef907643
rionet: fix page allocation order of rionet_active

rionet_active is allocated from the page allocator and the allocation
order is calculated on the assumption that the page size is 4KB, so it
wastes memory on more than 4K page systems.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Matt Porter <mporter@kernel.crashing.org>
Cc: Alexandre Bounine <alexandre.bounine@idt.com>
Cc: netdev@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/rionet.c