|
@@ -109,7 +109,7 @@ int main(int argc, char** argv)
|
|
|
|
|
|
if (CRC_LE_BITS > 1) {
|
|
if (CRC_LE_BITS > 1) {
|
|
crc32init_le();
|
|
crc32init_le();
|
|
- printf("static u32 __cacheline_aligned "
|
|
|
|
|
|
+ printf("static const u32 ____cacheline_aligned "
|
|
"crc32table_le[%d][%d] = {",
|
|
"crc32table_le[%d][%d] = {",
|
|
LE_TABLE_ROWS, LE_TABLE_SIZE);
|
|
LE_TABLE_ROWS, LE_TABLE_SIZE);
|
|
output_table(crc32table_le, LE_TABLE_ROWS,
|
|
output_table(crc32table_le, LE_TABLE_ROWS,
|
|
@@ -119,7 +119,7 @@ int main(int argc, char** argv)
|
|
|
|
|
|
if (CRC_BE_BITS > 1) {
|
|
if (CRC_BE_BITS > 1) {
|
|
crc32init_be();
|
|
crc32init_be();
|
|
- printf("static u32 __cacheline_aligned "
|
|
|
|
|
|
+ printf("static const u32 ____cacheline_aligned "
|
|
"crc32table_be[%d][%d] = {",
|
|
"crc32table_be[%d][%d] = {",
|
|
BE_TABLE_ROWS, BE_TABLE_SIZE);
|
|
BE_TABLE_ROWS, BE_TABLE_SIZE);
|
|
output_table(crc32table_be, LE_TABLE_ROWS,
|
|
output_table(crc32table_be, LE_TABLE_ROWS,
|
|
@@ -128,7 +128,7 @@ int main(int argc, char** argv)
|
|
}
|
|
}
|
|
if (CRC_LE_BITS > 1) {
|
|
if (CRC_LE_BITS > 1) {
|
|
crc32cinit_le();
|
|
crc32cinit_le();
|
|
- printf("static u32 __cacheline_aligned "
|
|
|
|
|
|
+ printf("static const u32 ____cacheline_aligned "
|
|
"crc32ctable_le[%d][%d] = {",
|
|
"crc32ctable_le[%d][%d] = {",
|
|
LE_TABLE_ROWS, LE_TABLE_SIZE);
|
|
LE_TABLE_ROWS, LE_TABLE_SIZE);
|
|
output_table(crc32ctable_le, LE_TABLE_ROWS,
|
|
output_table(crc32ctable_le, LE_TABLE_ROWS,
|