af_packet: eliminate pgv_to_page on some arches
authorChangli Gao <xiaosuo@gmail.com>
Tue, 7 Dec 2010 04:26:16 +0000 (04:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Dec 2010 18:43:41 +0000 (10:43 -0800)
commitf6dafa95d1a48f73ab4a5b0f7dc0dcb72817e051
treef922f2991f04ffd29d76e4fbaf07ec299efbdd1c
parent15c2d75f49189e1769c5e8f5f099d03d055c4910
af_packet: eliminate pgv_to_page on some arches

Some arches don't need flush_dcache_page(), and don't implement it, so
we can eliminate pgv_to_page() calls on those arches.

Signed-off-by: Changli Gao <xiaosuo@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/packet/af_packet.c