]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crc32c: include acconfig.h to fix ceph_crc32c_aarch64() 15515/head
authorKefu Chai <kchai@redhat.com>
Tue, 6 Jun 2017 13:40:19 +0000 (21:40 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 6 Jun 2017 15:31:38 +0000 (23:31 +0800)
commit67d3049b02b014ed205b44437d2377d138d3ab0d
tree6fe52eb7acd5c490b66d45c22f438d3c8ef5f6c8
parent7ce058fb12ca2498cbd70eef916ab972af485772
crc32c: include acconfig.h to fix ceph_crc32c_aarch64()

HAVE_ARMV8_CRC is defined by "acconfig.h". so we need to include it for
the definition.

it's a regresssion introduced by 2a3382f. in that change,
crc32c_intel_baseline.h was removed from crc32.cc, and that header
includes accconfig.h indirectly. that's why we will have a dummy
ceph_crc32c_aarch64() which always returns 0. the dummy implementation
was intended to please the compiler. but we can probably just drop it in
future as a cleanup.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/common/crc32c_aarch64.h