aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAkinobu Mita <akinobu.mita@gmail.com>2006-12-08 05:36:25 -0500
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-08 11:28:39 -0500
commit906d66df18faa4aac8d898ae6920d1014694a932 (patch)
treedf91905b3c79b7af39091e82655088ad5057379e /drivers
parenta5cfc1ec58a07074dacb6aa8c79eff864c966d12 (diff)
[PATCH] crc32: replace bitreverse by bitrev32
This patch replaces bitreverse() by bitrev32. The only users of bitreverse() are crc32 itself and via-velocity. Cc: Jeff Garzik <jgarzik@pobox.com> Cc: Matt Domsch <Matt_Domsch@dell.com> Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/via-velocity.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/via-velocity.c b/drivers/net/via-velocity.c
index 74f894795a1b..4587f23f4e4b 100644
--- a/drivers/net/via-velocity.c
+++ b/drivers/net/via-velocity.c
@@ -3132,7 +3132,7 @@ static u16 wol_calc_crc(int size, u8 * pattern, u8 *mask_pattern)
3132 } 3132 }
3133 /* Finally, invert the result once to get the correct data */ 3133 /* Finally, invert the result once to get the correct data */
3134 crc = ~crc; 3134 crc = ~crc;
3135 return bitreverse(crc) >> 16; 3135 return bitrev32(crc) >> 16;
3136} 3136}
3137 3137
3138/** 3138/**