summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorDaniel Black <daniel.black@au.ibm.com>2016-03-15 18:02:51 +1100
committerSergey Vojtovich <svoj@mariadb.org>2016-08-05 11:50:46 +0400
commita2c826b6aa38d68e79a80499b0ecdc57ae98f8e0 (patch)
tree0ae94bf3641f05df4a2db9aeb30f5f657f87ef03 /mysys
parente7e313f46f02c9a075f458502f0e4d6ac42880a6 (diff)
downloadmariadb-git-a2c826b6aa38d68e79a80499b0ecdc57ae98f8e0.tar.gz
MDEV-9872: New Power8 crc32(ieee) optimized functions
These are different from the existing crc32 functions which where really crc32c.
Diffstat (limited to 'mysys')
-rw-r--r--mysys/checksum.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysys/checksum.c b/mysys/checksum.c
index 7f26e02e7bd..40f2ace680d 100644
--- a/mysys/checksum.c
+++ b/mysys/checksum.c
@@ -31,9 +31,9 @@
ha_checksum my_checksum(ha_checksum crc, const uchar *pos, size_t length)
{
#ifdef HAVE_CRC32_VPMSUM
- extern unsigned int crc32_vpmsum(unsigned int crc, const unsigned char *p,
+ extern unsigned int crc32ieee_vpmsum(unsigned int crc, const unsigned char *p,
unsigned long len);
- crc= (ha_checksum) crc32_vpmsum((uint) crc, pos, (uint) length);
+ crc= (ha_checksum) crc32ieee_vpmsum((uint) crc, pos, (uint) length);
#else
crc= (ha_checksum) crc32((uint)crc, pos, (uint) length);
#endif