]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
arch/arm: s/false/0/
authorSage Weil <sage@redhat.com>
Wed, 23 Sep 2015 12:20:39 +0000 (08:20 -0400)
committerSage Weil <sage@redhat.com>
Wed, 23 Sep 2015 12:20:39 +0000 (08:20 -0400)
arch/arm.c: In function 'ceph_arch_arm_probe':
arch/arm.c:54:28: error: 'false' undeclared (first use in this function)
  ceph_arch_aarch64_crc32 = false;  // sorry!
                            ^
arch/arm.c:54:28: note: each undeclared identifier is reported only once for each function it appears in

Signed-off-by: Sage Weil <sage@redhat.com>
src/arch/arm.c

index 3560eb7b6738f9cd11d9967b362f2eba35b5c884..67c537355c8d4005800993f77440de31f0bd37f6 100644 (file)
@@ -51,7 +51,7 @@ int ceph_arch_arm_probe(void)
 # ifdef HWCAP_CRC32
        ceph_arch_aarch64_crc32 = (get_hwcap() & HWCAP_CRC32) == HWCAP_CRC32;
 # else
-       ceph_arch_aarch64_crc32 = false;  // sorry!
+       ceph_arch_aarch64_crc32 = 0;  // sorry!
 # endif
 #else
        if (0)