Skip to content

Commit c82c375

Browse files
committed
compilation failure on power8
fix a bad merge
1 parent 200430e commit c82c375

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

storage/innobase/ut/ut0crc32.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -447,12 +447,12 @@ static bool ut_crc32_slice8_table_initialized = false;
447447
/********************************************************************//**
448448
Initializes the table that is used to generate the CRC32 if the CPU does
449449
not have support for it. */
450-
#ifndef HAVE_CRC32_VPMSUM
451450
static
452451
void
453452
ut_crc32_slice8_table_init()
454453
/*========================*/
455454
{
455+
#ifndef HAVE_CRC32_VPMSUM
456456
/* bit-reversed poly 0x1EDC6F41 (from SSE42 crc32 instruction) */
457457
static const uint32_t poly = 0x82f63b78;
458458
uint32_t n;
@@ -476,8 +476,8 @@ ut_crc32_slice8_table_init()
476476
}
477477

478478
ut_crc32_slice8_table_initialized = true;
479-
}
480479
#endif
480+
}
481481

482482
/** Calculate CRC32 over 8-bit data using a software implementation.
483483
@param[in,out] crc crc32 checksum so far when this function is called,

0 commit comments

Comments
 (0)